Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 75.77 kB / 22.46 MB, free: 2.086 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 164 kB / 25.75 MB, free: 8.953 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8282/0.8282, allocations: 158.6 MB / 187.5 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 251.1 MB, free: 7.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.392e-05, allocations: 6.312 kB / 251.1 MB, free: 7.902 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005096/0.00511, allocations: 6.103 MB / 257.2 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.007979, allocations: 2.126 MB / 259.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.008292, allocations: 19.94 kB / 259.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.009344, allocations: 0.7887 MB / 260.1 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000899/0.01024, allocations: 0.6248 MB / 260.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.01089, allocations: 0.5024 MB / 261.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009344/0.01182, allocations: 1.23 MB / 262.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007938/0.01262, allocations: 0.7609 MB / 263.3 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.01318, allocations: 0.6899 MB / 264 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.01363, allocations: 430.7 kB / 264.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.01375, allocations: 112 kB / 264.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.01409, allocations: 263.7 kB / 264.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.01423, allocations: 259 kB / 265 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.01449, allocations: 395 kB / 265.4 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.01533, allocations: 0.9652 MB / 266.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01533, allocations: 0 / 266.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01533, allocations: 0 / 266.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.01534, allocations: 0 / 266.3 MB, free: 8.566 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.001996/0.01734, allocations: 1.81 MB / 268.2 MB, free: 6.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01738, allocations: 15.98 kB / 268.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.01925, allocations: 0.6207 MB / 268.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.01984, allocations: 0.5115 MB / 269.3 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.01988, allocations: 74.41 kB / 269.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.01999, allocations: 112.3 kB / 269.5 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.02103, allocations: 0.9234 MB / 270.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.02105, allocations: 192 / 270.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-05/0.02112, allocations: 47.92 kB / 270.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.02114, allocations: 28 kB / 270.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.02193, allocations: 0.4917 MB / 271 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.02516, allocations: 3.248 MB / 274.2 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.0263, allocations: 0.8553 MB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.02672, allocations: 301.1 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.02678, allocations: 24.66 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.02723, allocations: 498.3 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 1.923e-06/0.02724, allocations: 0 / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.002175/0.02941, allocations: 1.166 MB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.02948, allocations: 188.9 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.02982, allocations: 478.5 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.02987, allocations: 45.69 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.03008, allocations: 483.3 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.03023, allocations: 297.4 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.03039, allocations: 172.3 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.03054, allocations: 0.5469 MB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.03077, allocations: 141.9 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.03118, allocations: 0.5815 MB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.0318, allocations: 0.6321 MB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.0318, allocations: 4 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001013/0.03282, allocations: 0.8279 MB / 281.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.03283, allocations: 8 kB / 281.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.03284, allocations: 8 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.03344, allocations: 275.2 kB / 281.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.03375, allocations: 155.8 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.03706, allocations: 5.134 MB / 287 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.03735, allocations: 95.39 kB / 287.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.03739, allocations: 44.02 kB / 287.1 MB, free: 2.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,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 (90): * Single equations (assignments): 88 * 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.0001975/0.03759, allocations: 216.3 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.03769, allocations: 103.5 kB / 287.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/0.03868, allocations: 0.7267 MB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.03868, allocations: 11.94 kB / 288.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.03869, allocations: 0 / 288.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.03869, allocations: 3.984 kB / 288.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.04028, allocations: 1.444 MB / 289.6 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.04028, allocations: 0 / 289.6 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.04051, allocations: 95.83 kB / 289.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/0.04105, allocations: 259.1 kB / 290 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.04109, allocations: 23.98 kB / 290 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.04408, allocations: 5.104 MB / 295.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.04408, allocations: 0 / 295.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.04523, allocations: 1.002 MB / 296.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.04538, allocations: 131.3 kB / 296.2 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.04544, allocations: 19.94 kB / 296.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.04565, allocations: 39.97 kB / 296.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.04577, allocations: 76.86 kB / 296.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.0458, allocations: 27.98 kB / 296.4 MB, free: 9.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.04601, allocations: 303 kB / 296.7 MB, free: 8.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04601, allocations: 0 / 296.7 MB, free: 8.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006315/0.04664, allocations: 319.3 kB / 297 MB, free: 8.508 MB / 282.7 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,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * 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 (59): * Single equations (assignments): 54 * 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.0002077/0.04685, allocations: 159.2 kB / 297.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.04785, allocations: 0.9806 MB / 298.1 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.04785, allocations: 5.25 kB / 298.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.04844, allocations: 0.7468 MB / 298.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.04882, allocations: 118.2 kB / 299 MB, free: 6.422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.05094, allocations: 1.589 MB / 300.6 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.05108, allocations: 196.7 kB / 300.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.05127, allocations: 81.33 kB / 300.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.05136, allocations: 52.48 kB / 300.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05136, allocations: 0 / 300.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of Templates: time 0.01419/0.06555, allocations: 11.74 MB / 312.6 MB, free: 8.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1651211401913315]