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.001791/0.001791, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002096/0.002096, allocations: 149.4 kB / 24.25 MB, free: 184 kB / 18.57 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.439/1.439, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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 1.704e-06/1.704e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.291e-05, allocations: 6.25 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008887/0.00892, allocations: 5.555 MB / 272.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.01356, allocations: 2.012 MB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006313/0.0142, allocations: 27.88 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.0163, allocations: 0.7419 MB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.01838, allocations: 0.7452 MB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.01953, allocations: 498.5 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.02116, allocations: 1.214 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.02247, allocations: 0.761 MB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.02342, allocations: 0.6782 MB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.02409, allocations: 402.8 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.02426, allocations: 108 kB / 280.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.02483, allocations: 259.7 kB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.02509, allocations: 255.1 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.02556, allocations: 379 kB / 280.9 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.02755, allocations: 1.491 MB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.02755, allocations: 0 / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02755, allocations: 3.938 kB / 282.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.02757, allocations: 4 kB / 282.4 MB, free: 7.52 MB / 266.7 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.003557/0.03113, allocations: 1.631 MB / 284.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.03117, allocations: 8.922 kB / 284.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.03355, allocations: 499.8 kB / 284.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.03461, allocations: 0.5165 MB / 285.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.03469, allocations: 74.38 kB / 285.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.03488, allocations: 104.4 kB / 285.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.03701, allocations: 1.113 MB / 286.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.03704, allocations: 8.141 kB / 286.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.03716, allocations: 44.12 kB / 286.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.03719, allocations: 24 kB / 286.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.03903, allocations: 0.851 MB / 287.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1145/0.1535, allocations: 2.96 MB / 290.2 MB, free: 31.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.1554, allocations: 0.8465 MB / 291.1 MB, free: 31.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008405/0.1563, allocations: 405.6 kB / 291.5 MB, free: 31.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.992e-05/0.1563, allocations: 27.36 kB / 291.5 MB, free: 31.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008719/0.1572, allocations: 0.5876 MB / 292.1 MB, free: 30.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.926e-06/0.1572, allocations: 1.406 kB / 292.1 MB, free: 30.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.004549/0.1618, allocations: 1.52 MB / 293.6 MB, free: 30.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1618, allocations: 192.8 kB / 293.8 MB, free: 30.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.1623, allocations: 432.1 kB / 294.2 MB, free: 30.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1624, allocations: 43.72 kB / 294.3 MB, free: 30.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.1626, allocations: 419.8 kB / 294.7 MB, free: 29.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.1628, allocations: 289.5 kB / 295 MB, free: 29.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.163, allocations: 157.2 kB / 295.1 MB, free: 29.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.1631, allocations: 372.5 kB / 295.5 MB, free: 29.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.1636, allocations: 264.4 kB / 295.7 MB, free: 29.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.1643, allocations: 0.5739 MB / 296.3 MB, free: 28.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.1655, allocations: 0.7372 MB / 297.1 MB, free: 28.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.1655, allocations: 2.719 kB / 297.1 MB, free: 28.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00206/0.1676, allocations: 1.043 MB / 298.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1676, allocations: 13.22 kB / 298.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1676, allocations: 4.438 kB / 298.1 MB, free: 27.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.1688, allocations: 309.6 kB / 298.4 MB, free: 27.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.1694, allocations: 152.1 kB / 298.6 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/0.1743, allocations: 4.58 MB / 303.1 MB, free: 24.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.175, allocations: 95.55 kB / 303.2 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.1751, allocations: 35.33 kB / 303.3 MB, free: 24.02 MB / 266.7 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.0004199/0.1755, allocations: 246.9 kB / 303.5 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.1756, allocations: 98.02 kB / 303.6 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.1775, allocations: 0.9603 MB / 304.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1775, allocations: 10.23 kB / 304.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1775, allocations: 0 / 304.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.1775, allocations: 5.641 kB / 304.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.1801, allocations: 1.639 MB / 306.2 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1801, allocations: 0 / 306.2 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.1805, allocations: 92.61 kB / 306.3 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009075/0.1814, allocations: 309.9 kB / 306.6 MB, free: 22.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.1814, allocations: 18.28 kB / 306.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004097/0.1855, allocations: 4.541 MB / 311.2 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1855, allocations: 0 / 311.2 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.1878, allocations: 1.39 MB / 312.6 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.1881, allocations: 136 kB / 312.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.1882, allocations: 19.98 kB / 312.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.1886, allocations: 43.97 kB / 312.8 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.1888, allocations: 72.86 kB / 312.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.1888, allocations: 20 kB / 312.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002571/0.1891, allocations: 291.1 kB / 313.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1891, allocations: 5.531 kB / 313.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001033/0.1901, allocations: 311.3 kB / 313.4 MB, free: 16.43 MB / 266.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_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.0002539/0.1904, allocations: 158.9 kB / 313.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.1921, allocations: 1.055 MB / 314.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1921, allocations: 1.25 kB / 314.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009318/0.1931, allocations: 0.713 MB / 315.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/0.1936, allocations: 126 kB / 315.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.196, allocations: 1.62 MB / 317.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1963, allocations: 403.8 kB / 317.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.1965, allocations: 79.62 kB / 317.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1967, allocations: 55.22 kB / 317.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1967, allocations: 0 / 317.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Templates: time 0.01632/0.213, allocations: 11.43 MB / 329.1 MB, free: 0.9414 MB / 266.7 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: 4.979353389935568]