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.001799/0.001799, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002169/0.002169, allocations: 161.7 kB / 24.27 MB, free: 176 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.532e-06/1.532e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.046e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008383/0.008413, allocations: 5.604 MB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.01294, allocations: 2.122 MB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.01341, allocations: 27.88 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.01542, allocations: 0.7457 MB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.0171, allocations: 0.6014 MB / 281.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.01832, allocations: 0.518 MB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.02016, allocations: 1.229 MB / 283.2 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.02139, allocations: 0.7531 MB / 283.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.02242, allocations: 0.6899 MB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.02311, allocations: 418.7 kB / 285 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.02328, allocations: 112 kB / 285.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.02395, allocations: 275.6 kB / 285.4 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.02421, allocations: 259.1 kB / 285.7 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.02471, allocations: 383 kB / 286 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.02686, allocations: 1.522 MB / 287.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.02686, allocations: 0 / 287.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02687, allocations: 0 / 287.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.02688, allocations: 0 / 287.6 MB, free: 2.492 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.003934/0.03082, allocations: 1.654 MB / 289.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.03086, allocations: 12.03 kB / 289.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.03355, allocations: 0.5115 MB / 289.7 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1141/0.1477, allocations: 0.5331 MB / 290.3 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.1477, allocations: 76.11 kB / 290.3 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1479, allocations: 106.4 kB / 290.4 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.1497, allocations: 1.116 MB / 291.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.1497, allocations: 5.953 kB / 291.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.1498, allocations: 42.67 kB / 291.6 MB, free: 27.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.1498, allocations: 24.78 kB / 291.6 MB, free: 27.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.1513, allocations: 0.8461 MB / 292.5 MB, free: 27.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.1556, allocations: 3.003 MB / 295.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1574, allocations: 0.8543 MB / 296.3 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.1582, allocations: 398 kB / 296.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.1583, allocations: 30.5 kB / 296.8 MB, free: 25.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008467/0.1592, allocations: 0.5834 MB / 297.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.856e-06/0.1592, allocations: 4.281 kB / 297.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.00462/0.1638, allocations: 1.518 MB / 298.9 MB, free: 24.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.1639, allocations: 192.2 kB / 299 MB, free: 24.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.1645, allocations: 462.2 kB / 299.5 MB, free: 23.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.1645, allocations: 43.62 kB / 299.5 MB, free: 23.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.1648, allocations: 433 kB / 300 MB, free: 23.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.165, allocations: 286.1 kB / 300.2 MB, free: 23.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.1652, allocations: 155.9 kB / 300.4 MB, free: 23.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1653, allocations: 373.3 kB / 300.8 MB, free: 22.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.1658, allocations: 267.9 kB / 301 MB, free: 22.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.1665, allocations: 0.5797 MB / 301.6 MB, free: 22.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1676, allocations: 0.7351 MB / 302.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1676, allocations: 2.75 kB / 302.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002007/0.1696, allocations: 1.053 MB / 303.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1696, allocations: 7.125 kB / 303.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1696, allocations: 8.047 kB / 303.4 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.1707, allocations: 295.8 kB / 303.7 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005478/0.1712, allocations: 148.4 kB / 303.8 MB, free: 21.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/0.1758, allocations: 4.586 MB / 308.4 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.1766, allocations: 96.11 kB / 308.5 MB, free: 17.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.1766, allocations: 32 kB / 308.6 MB, free: 17.53 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.0004074/0.177, allocations: 254.2 kB / 308.8 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1772, allocations: 95.58 kB / 308.9 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.179, allocations: 0.9513 MB / 309.8 MB, free: 16.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.179, allocations: 16 kB / 309.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.179, allocations: 0 / 309.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.179, allocations: 3.984 kB / 309.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.1817, allocations: 1.654 MB / 311.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1817, allocations: 3.828 kB / 311.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.1821, allocations: 95.88 kB / 311.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009403/0.183, allocations: 290.7 kB / 311.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.1831, allocations: 23.92 kB / 311.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/0.1872, allocations: 4.523 MB / 316.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1872, allocations: 4.094 kB / 316.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.1897, allocations: 1.389 MB / 317.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.19, allocations: 142.1 kB / 318 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.1901, allocations: 19.94 kB / 318 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.1906, allocations: 39.97 kB / 318 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.1908, allocations: 76.8 kB / 318.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.1909, allocations: 27.98 kB / 318.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000308/0.1912, allocations: 306.9 kB / 318.4 MB, free: 7.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1912, allocations: 0 / 318.4 MB, free: 7.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001099/0.1923, allocations: 323.3 kB / 318.8 MB, free: 7.074 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.0003153/0.1926, allocations: 159 kB / 318.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.1944, allocations: 1.053 MB / 320 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1944, allocations: 3.906 kB / 320 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.1955, allocations: 0.7115 MB / 320.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.1962, allocations: 123.5 kB / 320.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1991, allocations: 1.638 MB / 322.4 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.1996, allocations: 412.3 kB / 322.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.2, allocations: 75.94 kB / 322.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.2001, allocations: 52.48 kB / 323 MB, free: 2.762 MB / 266.7 MB Notification: Performance of SimCode: time 2.184e-06/0.2001, allocations: 0 / 323 MB, free: 2.762 MB / 266.7 MB Notification: Performance of Templates: time 0.02513/0.2252, allocations: 11.66 MB / 334.6 MB, free: 7.344 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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.113631395972334]