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.001821/0.001821, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.002171/0.002171, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.443/1.443, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.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.001544/0.001544, allocations: 46.59 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08471/0.08626, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007545/0.0938, allocations: 5.546 MB / 377.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.09748, allocations: 2.025 MB / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.09783, allocations: 27.88 kB / 379.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.09968, allocations: 0.7305 MB / 379.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.1013, allocations: 0.7338 MB / 380.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.1022, allocations: 494.8 kB / 381.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1035, allocations: 1.176 MB / 382.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.1046, allocations: 0.7492 MB / 383 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005461/0.1052, allocations: 470.3 kB / 383.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.1059, allocations: 477.6 kB / 384 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1061, allocations: 112 kB / 384.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.1066, allocations: 263.8 kB / 384.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1068, allocations: 251.1 kB / 384.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.1073, allocations: 449.9 kB / 385 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1089, allocations: 1.459 MB / 386.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.109, allocations: 4 kB / 386.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.109, allocations: 3.938 kB / 386.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.109, allocations: 0 / 386.5 MB, free: 8.34 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.003341/0.1123, allocations: 1.643 MB / 388.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1123, allocations: 12.92 kB / 388.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.1147, allocations: 383.9 kB / 388.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.1157, allocations: 0.49 MB / 389 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.1157, allocations: 74.38 kB / 389.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1159, allocations: 108.4 kB / 389.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.1179, allocations: 1.116 MB / 390.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.1179, allocations: 3.984 kB / 390.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.118, allocations: 44 kB / 390.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.118, allocations: 24 kB / 390.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1198, allocations: 0.8471 MB / 391.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.1249, allocations: 2.939 MB / 394.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.1268, allocations: 0.8478 MB / 395 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/0.1278, allocations: 403.4 kB / 395.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.1278, allocations: 16.64 kB / 395.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009756/0.1288, allocations: 0.5856 MB / 396 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.574e-06/0.1288, allocations: 0 / 396 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004567/0.1334, allocations: 1.485 MB / 397.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1335, allocations: 188.9 kB / 397.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.134, allocations: 437.8 kB / 398.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.1341, allocations: 45.83 kB / 398.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.1344, allocations: 420.7 kB / 398.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.1347, allocations: 293.5 kB / 398.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.1349, allocations: 154.6 kB / 399 MB, free: 11.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1351, allocations: 382.6 kB / 399.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.1357, allocations: 269.8 kB / 399.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.1366, allocations: 0.5684 MB / 400.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.1379, allocations: 0.7434 MB / 400.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1379, allocations: 0 / 400.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002107/0.14, allocations: 1.006 MB / 402 MB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.14, allocations: 12.3 kB / 402 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1401, allocations: 8 kB / 402 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009069/0.141, allocations: 261.5 kB / 402.2 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.1416, allocations: 151.7 kB / 402.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/0.1475, allocations: 4.539 MB / 406.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.1481, allocations: 103.5 kB / 407 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.1482, allocations: 36 kB / 407 MB, free: 2.977 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.0003757/0.1485, allocations: 241.5 kB / 407.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1487, allocations: 67.58 kB / 407.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.1508, allocations: 0.9552 MB / 408.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.1508, allocations: 8 kB / 408.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1508, allocations: 4 kB / 408.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.1508, allocations: 3.984 kB / 408.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.1539, allocations: 1.644 MB / 410 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1539, allocations: 64 / 410 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.1544, allocations: 99.83 kB / 410.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007968/0.1552, allocations: 265.4 kB / 410.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.1552, allocations: 20.19 kB / 410.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/0.1608, allocations: 4.505 MB / 414.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1608, allocations: 0 / 414.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.1634, allocations: 1.37 MB / 416.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.1637, allocations: 135.4 kB / 416.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.1638, allocations: 20 kB / 416.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.1643, allocations: 39.97 kB / 416.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.1644, allocations: 76.8 kB / 416.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.1645, allocations: 27.92 kB / 416.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.1648, allocations: 291.1 kB / 416.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1648, allocations: 0 / 416.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1659, allocations: 311.3 kB / 417.1 MB, free: 8.617 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.0002564/0.1661, allocations: 155.1 kB / 417.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.1682, allocations: 1.049 MB / 418.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.1682, allocations: 7.938 kB / 418.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.1695, allocations: 0.7095 MB / 419 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.1701, allocations: 114.5 kB / 419.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.1735, allocations: 1.668 MB / 420.8 MB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.174, allocations: 399.9 kB / 421.2 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.1743, allocations: 81.11 kB / 421.3 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1745, allocations: 48.5 kB / 421.3 MB, free: 4.289 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1745, allocations: 3.938 kB / 421.3 MB, free: 4.285 MB / 382.1 MB Notification: Performance of Templates: time 0.0223/0.1968, allocations: 11.39 MB / 432.7 MB, free: 9.062 MB / 398.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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.0101202729856595]