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.0009637/0.0009637, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001035/0.001035, allocations: 168.1 kB / 24.99 MB, free: 9.27 MB / 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 0.9265/0.9265, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 0 / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.782e-05, allocations: 2.312 kB / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.005898/0.005925, allocations: 6.135 MB / 279.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.009718, allocations: 2.168 MB / 281.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006894/0.01041, allocations: 23.88 kB / 281.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.01175, allocations: 0.7847 MB / 282.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.01302, allocations: 0.617 MB / 282.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.01397, allocations: 0.5259 MB / 283.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.0156, allocations: 1.226 MB / 284.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009253/0.01653, allocations: 0.7571 MB / 285.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006589/0.01719, allocations: 0.6977 MB / 286 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.01762, allocations: 430.8 kB / 286.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.01774, allocations: 112 kB / 286.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.01825, allocations: 279.6 kB / 286.8 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.01841, allocations: 263 kB / 287.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.0187, allocations: 375.1 kB / 287.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.01983, allocations: 0.9925 MB / 288.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01983, allocations: 0 / 288.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01983, allocations: 0 / 288.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.01985, allocations: 0 / 288.4 MB, free: 2.363 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.002199/0.02205, allocations: 1.805 MB / 290.2 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.02209, allocations: 12.03 kB / 290.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1208/0.1429, allocations: 0.5051 MB / 290.7 MB, free: 28.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.1437, allocations: 0.5185 MB / 291.3 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.1438, allocations: 76.75 kB / 291.3 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1439, allocations: 105.6 kB / 291.4 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1451, allocations: 0.8974 MB / 292.3 MB, free: 28.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.1452, allocations: 6.156 kB / 292.3 MB, free: 28.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.1452, allocations: 39.16 kB / 292.4 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.1453, allocations: 24.05 kB / 292.4 MB, free: 28.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.1461, allocations: 472 kB / 292.9 MB, free: 28.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.1495, allocations: 3.142 MB / 296 MB, free: 26.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.1507, allocations: 0.7744 MB / 296.8 MB, free: 25.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.1512, allocations: 291.6 kB / 297.1 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.768e-05/0.1512, allocations: 27.16 kB / 297.1 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.1518, allocations: 0.4939 MB / 297.6 MB, free: 25.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.699e-06/0.1518, allocations: 1.25 kB / 297.6 MB, free: 25.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.002509/0.1543, allocations: 1.153 MB / 298.7 MB, free: 25.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1543, allocations: 194.5 kB / 298.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.1547, allocations: 487.2 kB / 299.4 MB, free: 24.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.1548, allocations: 43.08 kB / 299.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.155, allocations: 477.4 kB / 299.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.1552, allocations: 287.7 kB / 300.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.1553, allocations: 160.3 kB / 300.3 MB, free: 24.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1555, allocations: 0.5425 MB / 300.9 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.1557, allocations: 134 kB / 301 MB, free: 23.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.1561, allocations: 0.5256 MB / 301.5 MB, free: 23.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.1567, allocations: 0.5683 MB / 302.1 MB, free: 22.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1567, allocations: 1.812 kB / 302.1 MB, free: 22.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001183/0.1579, allocations: 0.777 MB / 302.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1579, allocations: 9.844 kB / 302.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.1579, allocations: 19.23 kB / 302.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.1586, allocations: 246.3 kB / 303.2 MB, free: 22.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.1589, allocations: 136.7 kB / 303.3 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.1619, allocations: 5.146 MB / 308.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.1623, allocations: 107 kB / 308.5 MB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.1623, allocations: 33.94 kB / 308.6 MB, free: 17.77 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.0002625/0.1626, allocations: 207.7 kB / 308.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1627, allocations: 98.64 kB / 308.9 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.1637, allocations: 0.7178 MB / 309.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1637, allocations: 7.062 kB / 309.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1637, allocations: 0 / 309.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1637, allocations: 7.953 kB / 309.6 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.1653, allocations: 1.424 MB / 311 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1653, allocations: 4.031 kB / 311 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1655, allocations: 91.64 kB / 311.1 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.166, allocations: 246.6 kB / 311.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.166, allocations: 23.98 kB / 311.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.1685, allocations: 5.09 MB / 316.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1685, allocations: 0 / 316.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.1697, allocations: 0.9941 MB / 317.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1699, allocations: 139.3 kB / 317.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.1699, allocations: 23.98 kB / 317.6 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1701, allocations: 31.98 kB / 317.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.1703, allocations: 79.77 kB / 317.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1703, allocations: 27.98 kB / 317.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1705, allocations: 310.8 kB / 318.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1705, allocations: 0 / 318.1 MB, free: 8.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008353/0.1713, allocations: 311.3 kB / 318.4 MB, free: 8.496 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.0002507/0.1716, allocations: 158.6 kB / 318.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.1726, allocations: 0.9685 MB / 319.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1726, allocations: 1.25 kB / 319.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1731, allocations: 0.7457 MB / 320.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1735, allocations: 119.8 kB / 320.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1755, allocations: 1.558 MB / 321.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.1756, allocations: 188.7 kB / 322.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1758, allocations: 77.2 kB / 322.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.1759, allocations: 56.48 kB / 322.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1759, allocations: 4 kB / 322.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Templates: time 0.01503/0.1909, allocations: 11.85 MB / 334.1 MB, free: 8.906 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","",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.317667721072212]