Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.002405/0.002405, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002707/0.002707, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.161e-05, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/3.425e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.009216/0.00925, allocations: 6.1 MB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.01361, allocations: 2.153 MB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003652/0.01398, allocations: 27.88 kB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.01613, allocations: 0.7847 MB / 281.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.01754, allocations: 0.6131 MB / 282 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.01861, allocations: 0.5259 MB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.02002, allocations: 1.229 MB / 283.8 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.02117, allocations: 0.761 MB / 284.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/0.02209, allocations: 0.6899 MB / 285.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.02275, allocations: 426.8 kB / 285.6 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.02294, allocations: 112 kB / 285.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.02348, allocations: 283.6 kB / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.02374, allocations: 255.1 kB / 286.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.02421, allocations: 387 kB / 286.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.0263, allocations: 1.53 MB / 288.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.02631, allocations: 4 kB / 288.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02631, allocations: 0 / 288.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.02633, allocations: 0 / 288.2 MB, free: 1.902 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.1046/0.131, allocations: 2.024 MB / 290.2 MB, free: 28.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.131, allocations: 9.594 kB / 290.2 MB, free: 28.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.1335, allocations: 0.5032 MB / 290.7 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008322/0.1344, allocations: 0.5297 MB / 291.2 MB, free: 28.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.1344, allocations: 76.88 kB / 291.3 MB, free: 28.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1345, allocations: 108.9 kB / 291.4 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.1362, allocations: 1.152 MB / 292.6 MB, free: 27.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.1363, allocations: 3.156 kB / 292.6 MB, free: 27.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.1363, allocations: 43.44 kB / 292.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.1364, allocations: 23.94 kB / 292.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.1379, allocations: 0.7907 MB / 293.4 MB, free: 27.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.1425, allocations: 3.569 MB / 297 MB, free: 25.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1442, allocations: 0.8686 MB / 297.9 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/0.145, allocations: 401.9 kB / 298.3 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.1451, allocations: 27.3 kB / 298.3 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000784/0.1459, allocations: 0.6157 MB / 298.9 MB, free: 24.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.445e-06/0.1459, allocations: 7.438 kB / 298.9 MB, free: 24.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.004183/0.1501, allocations: 1.479 MB / 300.4 MB, free: 23.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.1501, allocations: 191.5 kB / 300.6 MB, free: 23.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.1507, allocations: 0.5933 MB / 301.2 MB, free: 23.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.1507, allocations: 44.31 kB / 301.2 MB, free: 23.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.151, allocations: 0.4984 MB / 301.7 MB, free: 22.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.1511, allocations: 297.7 kB / 302 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.1514, allocations: 189.9 kB / 302.2 MB, free: 22.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1515, allocations: 0.5817 MB / 302.8 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.152, allocations: 245.8 kB / 303 MB, free: 21.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.1525, allocations: 0.6498 MB / 303.7 MB, free: 21.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1535, allocations: 0.7944 MB / 304.5 MB, free: 20.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1535, allocations: 6.125 kB / 304.5 MB, free: 20.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001707/0.1552, allocations: 1.044 MB / 305.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1552, allocations: 3.938 kB / 305.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1553, allocations: 11.84 kB / 305.5 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009774/0.1562, allocations: 300.6 kB / 305.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.1567, allocations: 143.5 kB / 306 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.161, allocations: 5.848 MB / 311.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.1615, allocations: 91.39 kB / 311.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.1615, allocations: 39.98 kB / 311.9 MB, free: 13.89 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.0003204/0.1619, allocations: 289.5 kB / 312.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.162, allocations: 95.58 kB / 312.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.1636, allocations: 0.9278 MB / 313.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1636, allocations: 15.97 kB / 313.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1636, allocations: 0 / 313.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1637, allocations: 3.984 kB / 313.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.1662, allocations: 1.847 MB / 315.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1662, allocations: 4 kB / 315.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.1666, allocations: 87.89 kB / 315.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/0.1674, allocations: 311.1 kB / 315.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.1675, allocations: 20 kB / 315.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.1714, allocations: 5.792 MB / 321.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1714, allocations: 2.625 kB / 321.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.1734, allocations: 1.397 MB / 322.7 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.1737, allocations: 135.3 kB / 322.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.1738, allocations: 23.98 kB / 322.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.1742, allocations: 31.98 kB / 322.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.1743, allocations: 76.8 kB / 323 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1744, allocations: 31.98 kB / 323 MB, free: 2.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003037/0.1747, allocations: 382.8 kB / 323.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1747, allocations: 0 / 323.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009721/0.1756, allocations: 315.3 kB / 323.7 MB, free: 1.809 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.0002357/0.1759, allocations: 162.5 kB / 323.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.1774, allocations: 1.194 MB / 325 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1774, allocations: 4 kB / 325 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.1786, allocations: 0.8654 MB / 325.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.1792, allocations: 122.4 kB / 326 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1825, allocations: 1.638 MB / 327.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.1829, allocations: 404.3 kB / 328.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000303/0.1832, allocations: 81.2 kB / 328.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1834, allocations: 56.48 kB / 328.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1834, allocations: 4 kB / 328.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of Templates: time 0.02411/0.2075, allocations: 11.84 MB / 340 MB, free: 1.535 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.167800627066754]