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.001273/0.001273, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001226/0.001226, allocations: 147.5 kB / 24.89 MB, free: 8.699 MB / 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 0.9436/0.9436, allocations: 173.3 MB / 201.5 MB, free: 9.207 MB / 186.7 MB " [Timeout remaining time 179] 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.103e-06/1.103e-06, allocations: 0 / 268.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.367e-06/1.047e-05, allocations: 6.25 kB / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.004903/0.004914, allocations: 5.968 MB / 274.4 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.00787, allocations: 2.14 MB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.008117, allocations: 23.88 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009165/0.009034, allocations: 0.7885 MB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.009944, allocations: 0.7685 MB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.01045, allocations: 494.5 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.01118, allocations: 1.214 MB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.01181, allocations: 0.8038 MB / 280.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.01227, allocations: 0.6821 MB / 281.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.01287, allocations: 418.8 kB / 281.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.01297, allocations: 112 kB / 281.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.01324, allocations: 259.7 kB / 282.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.01337, allocations: 251.1 kB / 282.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.0136, allocations: 383 kB / 282.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.0143, allocations: 0.9613 MB / 283.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01431, allocations: 0 / 283.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01431, allocations: 4 kB / 283.7 MB, free: 6.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.01431, allocations: 0 / 283.7 MB, free: 6.867 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.001411/0.01572, allocations: 1.361 MB / 285.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.659e-05/0.01575, allocations: 8.922 kB / 285.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.01689, allocations: 0.5119 MB / 285.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.01727, allocations: 367.1 kB / 285.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.01731, allocations: 74.38 kB / 286 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.0174, allocations: 104.4 kB / 286.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.01806, allocations: 0.8242 MB / 286.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.01808, allocations: 4.188 kB / 286.9 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.01813, allocations: 44.12 kB / 287 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.01814, allocations: 24 kB / 287 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.01852, allocations: 313.7 kB / 287.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.02108, allocations: 2.407 MB / 289.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09167/0.1127, allocations: 0.6424 MB / 290.4 MB, free: 23.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.1132, allocations: 260.4 kB / 290.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.883e-05/0.1133, allocations: 22.48 kB / 290.6 MB, free: 23.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.1136, allocations: 455.7 kB / 291.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.094e-06/0.1136, allocations: 0 / 291.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.001903/0.1155, allocations: 0.9687 MB / 292.1 MB, free: 22.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.1156, allocations: 194.5 kB / 292.2 MB, free: 22.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.116, allocations: 389 kB / 292.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.116, allocations: 44.11 kB / 292.7 MB, free: 22.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.1162, allocations: 382.9 kB / 293 MB, free: 22.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.1164, allocations: 288.9 kB / 293.3 MB, free: 22.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1165, allocations: 156.2 kB / 293.5 MB, free: 22.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.1166, allocations: 375.9 kB / 293.8 MB, free: 21.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1167, allocations: 86.05 kB / 293.9 MB, free: 21.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1169, allocations: 414.7 kB / 294.3 MB, free: 21.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.1173, allocations: 458.4 kB / 294.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1173, allocations: 2.016 kB / 294.8 MB, free: 21.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0007028/0.118, allocations: 0.5687 MB / 295.4 MB, free: 21.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.118, allocations: 14.53 kB / 295.4 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1181, allocations: 6.031 kB / 295.4 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.1186, allocations: 236 kB / 295.6 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.1189, allocations: 141.2 kB / 295.7 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.1209, allocations: 3.597 MB / 299.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.1212, allocations: 87.8 kB / 299.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.1212, allocations: 27.78 kB / 299.5 MB, free: 18.63 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.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.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.0001443/0.1214, allocations: 182.5 kB / 299.6 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.1215, allocations: 68.39 kB / 299.7 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.1221, allocations: 0.5295 MB / 300.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1221, allocations: 12.53 kB / 300.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1221, allocations: 1.594 kB / 300.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1221, allocations: 4.125 kB / 300.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1233, allocations: 0.9704 MB / 301.2 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1233, allocations: 1.062 kB / 301.2 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1235, allocations: 87.62 kB / 301.3 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/0.124, allocations: 236.9 kB / 301.5 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.124, allocations: 18.94 kB / 301.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.1259, allocations: 3.548 MB / 305.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1259, allocations: 1.062 kB / 305.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.1266, allocations: 0.7205 MB / 305.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.1267, allocations: 84.64 kB / 305.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.1268, allocations: 19.59 kB / 305.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1269, allocations: 33.77 kB / 306 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.127, allocations: 80.09 kB / 306 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1271, allocations: 15.94 kB / 306 MB, free: 15.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1272, allocations: 160.3 kB / 306.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1272, allocations: 6.297 kB / 306.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006133/0.1278, allocations: 314.6 kB / 306.5 MB, free: 15.24 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,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.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.000145/0.1279, allocations: 133.6 kB / 306.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.1286, allocations: 0.7644 MB / 307.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.1286, allocations: 3.219 kB / 307.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.1289, allocations: 0.5834 MB / 308 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1292, allocations: 118.9 kB / 308.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1308, allocations: 1.519 MB / 309.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1309, allocations: 183.4 kB / 309.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.131, allocations: 79.25 kB / 309.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.1312, allocations: 172.5 kB / 310.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1312, allocations: 0 / 310.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Templates: time 0.01235/0.1436, allocations: 12.25 MB / 322.3 MB, free: 3.988 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9375936752185225]