Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104.7 kB / 20.48 MB, free: 1.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 193.7 kB / 23.76 MB, free: 4.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 225.7 MB / 252.6 MB, free: 12.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 51.92 kB / 371 MB, free: 9.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3352, allocations: 52.19 MB / 423.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008275/0.3435, allocations: 5.547 MB / 428.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.348, allocations: 2.021 MB / 430.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.3489, allocations: 23.88 kB / 430.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.351, allocations: 0.715 MB / 431.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.3531, allocations: 0.7261 MB / 432.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3542, allocations: 490.8 kB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3555, allocations: 1.164 MB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3567, allocations: 0.7479 MB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006049/0.3573, allocations: 474.3 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.358, allocations: 481.7 kB / 435.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3581, allocations: 111.9 kB / 435.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.3586, allocations: 259.8 kB / 435.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.3589, allocations: 255.1 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.3594, allocations: 449.8 kB / 436.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.361, allocations: 1.463 MB / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.361, allocations: 0 / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.361, allocations: 0 / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3611, allocations: 0 / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003416/0.3645, allocations: 1.643 MB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3645, allocations: 12.03 kB / 439.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.3668, allocations: 375.9 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.3677, allocations: 0.4939 MB / 440.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.3678, allocations: 82.38 kB / 440.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.368, allocations: 100.4 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.3699, allocations: 1.12 MB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.37, allocations: 4 kB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.3701, allocations: 40 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.3701, allocations: 24 kB / 441.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.3718, allocations: 0.8471 MB / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/0.3769, allocations: 2.954 MB / 445.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.3789, allocations: 0.8399 MB / 446.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009234/0.3798, allocations: 395.5 kB / 447 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.3799, allocations: 20.62 kB / 447 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.3809, allocations: 0.5934 MB / 447.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.086e-06/0.3809, allocations: 0 / 447.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004544/0.3855, allocations: 1.477 MB / 449 MB, free: 4.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.3856, allocations: 200.9 kB / 449.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.3862, allocations: 429.9 kB / 449.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.3862, allocations: 45.7 kB / 449.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.3866, allocations: 424.7 kB / 450.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.3868, allocations: 289.5 kB / 450.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.3871, allocations: 154.6 kB / 450.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3873, allocations: 374.7 kB / 450.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.3879, allocations: 261.9 kB / 451.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.3887, allocations: 0.5801 MB / 451.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3901, allocations: 0.7357 MB / 452.5 MB, free: 452 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3901, allocations: 4 kB / 452.5 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002099/0.3922, allocations: 1.006 MB / 453.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.3922, allocations: 8.375 kB / 453.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3922, allocations: 12 kB / 453.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00089/0.3931, allocations: 269.3 kB / 453.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.3937, allocations: 147.8 kB / 453.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/0.3998, allocations: 4.544 MB / 458.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.4006, allocations: 103.4 kB / 458.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.4006, allocations: 39.98 kB / 458.6 MB, free: 10.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004469/0.4011, allocations: 240.7 kB / 458.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4012, allocations: 71.58 kB / 458.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.4033, allocations: 0.9589 MB / 459.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.4033, allocations: 8 kB / 459.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4033, allocations: 0 / 459.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.4034, allocations: 3.984 kB / 459.9 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.4066, allocations: 1.652 MB / 461.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4066, allocations: 0 / 461.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.407, allocations: 99.88 kB / 461.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007885/0.4078, allocations: 265.6 kB / 461.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.4079, allocations: 19.98 kB / 461.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.4136, allocations: 4.494 MB / 466.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4136, allocations: 4.031 kB / 466.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.4163, allocations: 1.366 MB / 467.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.4166, allocations: 139.3 kB / 467.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.4167, allocations: 16 kB / 467.9 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.4171, allocations: 43.97 kB / 468 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.4173, allocations: 72.86 kB / 468 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.4174, allocations: 27.92 kB / 468.1 MB, free: 344 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003719/0.4177, allocations: 291.1 kB / 468.4 MB, free: 52 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4177, allocations: 3.938 kB / 468.4 MB, free: 48 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001154/0.4189, allocations: 307.4 kB / 468.7 MB, free: 15.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y_last,iAC.mean1.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.4192, allocations: 164.2 kB / 468.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.4212, allocations: 1.041 MB / 469.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4212, allocations: 1.25 kB / 469.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4225, allocations: 0.7121 MB / 470.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.4231, allocations: 110.3 kB / 470.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.4262, allocations: 1.679 MB / 472.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.4266, allocations: 403.8 kB / 472.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.4269, allocations: 77.14 kB / 472.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4271, allocations: 52.48 kB / 472.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4271, allocations: 0 / 472.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02104/0.4481, allocations: 11.4 MB / 484.3 MB, free: 208 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.62932850793004]