Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.27, allocations: 53.41 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01632/0.2864, allocations: 12.39 MB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0285/0.3149, allocations: 17.9 MB / 462.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.3177, allocations: 130.6 kB / 462.8 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003776/0.3214, allocations: 1.132 MB / 463.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008808/0.3303, allocations: 2.359 MB / 466.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.3356, allocations: 1.418 MB / 467.7 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.347, allocations: 6.603 MB / 474.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/0.3479, allocations: 265.7 kB / 474.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.3503, allocations: 1.159 MB / 475.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.3526, allocations: 1.059 MB / 476.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.353, allocations: 76 kB / 476.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/0.3577, allocations: 1.202 MB / 478.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.3583, allocations: 337.6 kB / 478.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.36, allocations: 1.001 MB / 479.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.366, allocations: 3.823 MB / 483.2 MB, free: 3.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.366, allocations: 7.922 kB / 483.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.366, allocations: 0 / 483.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.709e-05/0.3661, allocations: 0 / 483.2 MB, free: 3.488 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006154/0.3722, allocations: 3.738 MB / 487 MB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3723, allocations: 11.98 kB / 487 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.3728, allocations: 413.4 kB / 487.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.3767, allocations: 2.291 MB / 489.7 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.3768, allocations: 44.92 kB / 489.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3769, allocations: 55.98 kB / 489.8 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3783, allocations: 0.7304 MB / 490.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3783, allocations: 0 / 490.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3784, allocations: 23.94 kB / 490.5 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.3784, allocations: 19.98 kB / 490.5 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.3801, allocations: 0.8163 MB / 491.4 MB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005564/0.3856, allocations: 2.762 MB / 494.1 MB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.3869, allocations: 0.5119 MB / 494.6 MB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.3879, allocations: 0.5731 MB / 495.2 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02591/0.4138, allocations: 13.72 MB / 0.497 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008039/0.4146, allocations: 361.6 kB / 0.4973 GB, free: 8.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.4146, allocations: 4 kB / 0.4974 GB, free: 8.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.0024/0.417, allocations: 1.103 MB / 0.4984 GB, free: 7.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.417, allocations: 55.41 kB / 0.4985 GB, free: 7.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.4209, allocations: 2.962 MB / 0.5014 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.421, allocations: 33.7 kB / 0.5014 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.4224, allocations: 1.502 MB / 0.5029 GB, free: 3.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.4226, allocations: 170.6 kB / 0.503 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.4229, allocations: 234.3 kB / 0.5033 GB, free: 2.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4231, allocations: 341.9 kB / 0.5036 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.4237, allocations: 237.9 kB / 0.5038 GB, free: 2.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/0.4246, allocations: 0.5979 MB / 0.5044 GB, free: 1.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.4261, allocations: 0.8935 MB / 0.5053 GB, free: 288 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4261, allocations: 7.938 kB / 0.5053 GB, free: 280 kB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002384/0.4285, allocations: 1.243 MB / 0.5065 GB, free: 15.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4285, allocations: 12 kB / 0.5065 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.4286, allocations: 88.14 kB / 0.5066 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.4287, allocations: 16 kB / 0.5066 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.4294, allocations: 203.6 kB / 0.5068 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/0.4294, allocations: 19.94 kB / 0.5068 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.4307, allocations: 115.2 kB / 0.5069 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4308, allocations: 64 kB / 0.507 GB, free: 14.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009015/0.4317, allocations: 444.5 kB / 0.5074 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005485/0.4323, allocations: 401.5 kB / 0.5078 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.4352, allocations: 1.186 MB / 0.509 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4352, allocations: 4 kB / 0.509 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4352, allocations: 4 kB / 0.509 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4352, allocations: 3.984 kB / 0.509 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/0.4392, allocations: 1.943 MB / 0.5109 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/0.4393, allocations: 71.94 kB / 0.5109 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.4398, allocations: 91.91 kB / 0.511 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.4398, allocations: 0 / 0.511 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.4399, allocations: 32 kB / 0.511 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4399, allocations: 7.938 kB / 0.5111 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4399, allocations: 0 / 0.5111 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.4426, allocations: 1.326 MB / 0.5123 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.4436, allocations: 415.2 kB / 0.5127 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/0.4439, allocations: 12 kB / 0.5128 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.4446, allocations: 31.95 kB / 0.5128 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.4447, allocations: 55.94 kB / 0.5128 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.4449, allocations: 39.98 kB / 0.5129 GB, free: 8.391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002961/0.4478, allocations: 1.907 MB / 0.5147 GB, free: 6.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4478, allocations: 0 / 0.5147 GB, free: 6.484 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00159/0.4494, allocations: 0.5891 MB / 0.5153 GB, free: 5.895 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/0.4507, allocations: 0.7798 MB / 0.5161 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.4526, allocations: 0.7723 MB / 0.5168 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.4527, allocations: 0 / 0.5168 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.4535, allocations: 431.2 kB / 0.5172 GB, free: 3.863 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.4563, allocations: 0.6114 MB / 0.5178 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/0.4637, allocations: 4.454 MB / 0.5222 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.4649, allocations: 1.113 MB / 0.5233 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.4653, allocations: 151.4 kB / 0.5234 GB, free: 13.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4653, allocations: 3.938 kB / 0.5234 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Templates: time 0.2531/0.7184, allocations: 39.25 MB / 0.5618 GB, free: 88.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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: 11.458638387732208]