Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002492/0.002499, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 88.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002965, allocations: 11.98 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3078, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4401, allocations: 102.3 MB / 478.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4404, allocations: 79.95 kB / 478.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4488/0.8893, allocations: 125.6 MB / 0.5896 GB, free: 24.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.8893, allocations: 0 / 0.5896 GB, free: 24.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002919/0.8897, allocations: 44 kB / 0.5897 GB, free: 24.59 MB / 378.7 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.009596/0.8993, allocations: 3.438 MB / 0.593 GB, free: 21.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.8993, allocations: 8.031 kB / 0.593 GB, free: 21.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.9002, allocations: 395.2 kB / 0.5934 GB, free: 20.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007665/0.9079, allocations: 2.395 MB / 0.5957 GB, free: 18.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.908, allocations: 40.95 kB / 0.5958 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.9083, allocations: 55.89 kB / 0.5958 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.9109, allocations: 0.8652 MB / 0.5967 GB, free: 17.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.9109, allocations: 0 / 0.5967 GB, free: 17.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.9111, allocations: 20 kB / 0.5967 GB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.9111, allocations: 23.98 kB / 0.5967 GB, free: 17.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.9134, allocations: 0.8592 MB / 0.5976 GB, free: 16.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008335/0.9217, allocations: 3.198 MB / 0.6007 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.9233, allocations: 0.6234 MB / 0.6013 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03922/0.9626, allocations: 36.01 MB / 0.6365 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008139/0.9634, allocations: 393.4 kB / 0.6368 GB, free: 2.871 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 5.119e-06/0.9635, allocations: 0 / 0.6368 GB, free: 2.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002854/0.9663, allocations: 1.47 MB / 0.6383 GB, free: 1.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.9665, allocations: 273 kB / 0.6385 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/0.9703, allocations: 2.552 MB / 0.641 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.9704, allocations: 45.62 kB / 0.6411 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.9717, allocations: 1.501 MB / 0.6425 GB, free: 12.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.9719, allocations: 165.6 kB / 0.6427 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.972, allocations: 20 kB / 0.6427 GB, free: 12.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.9721, allocations: 341.9 kB / 0.643 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006087/0.9727, allocations: 269.8 kB / 0.6433 GB, free: 12.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.9735, allocations: 0.6634 MB / 0.6439 GB, free: 11.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.9742, allocations: 352.5 kB / 0.6443 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.9742, allocations: 4 kB / 0.6443 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002496/0.9767, allocations: 1.265 MB / 0.6455 GB, free: 9.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.9768, allocations: 8 kB / 0.6455 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.9769, allocations: 84.11 kB / 0.6456 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/0.9769, allocations: 20 kB / 0.6456 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.9776, allocations: 211.6 kB / 0.6458 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/0.9777, allocations: 27.92 kB / 0.6459 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.9791, allocations: 127 kB / 0.646 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.9792, allocations: 64 kB / 0.646 GB, free: 9.066 MB / 426.7 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 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.9805, allocations: 439.9 kB / 0.6465 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007341/0.9812, allocations: 387.3 kB / 0.6468 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.9847, allocations: 1.284 MB / 0.6481 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.9848, allocations: 11.94 kB / 0.6481 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.9848, allocations: 0 / 0.6481 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.9848, allocations: 3.984 kB / 0.6481 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.9891, allocations: 2.253 MB / 0.6503 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.472e-05/0.9892, allocations: 67.98 kB / 0.6504 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.9897, allocations: 103.9 kB / 0.6505 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.9897, allocations: 7.938 kB / 0.6505 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.9898, allocations: 31.98 kB / 0.6505 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.9898, allocations: 7.953 kB / 0.6505 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9898, allocations: 0 / 0.6505 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.9923, allocations: 1.421 MB / 0.6519 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.9937, allocations: 0.5529 MB / 0.6524 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.994, allocations: 12 kB / 0.6524 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.9948, allocations: 43.95 kB / 0.6525 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.9949, allocations: 63.94 kB / 0.6525 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.995, allocations: 39.98 kB / 0.6526 GB, free: 2.188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003077/0.9981, allocations: 1.955 MB / 0.6545 GB, free: 240 kB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.9981, allocations: 0 / 0.6545 GB, free: 240 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.252/1.25, allocations: 0.6517 MB / 0.6551 GB, free: 99.44 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/1.252, allocations: 0.8465 MB / 0.656 GB, free: 99.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/1.254, allocations: 0.8495 MB / 0.6568 GB, free: 99.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.254, allocations: 5.594 kB / 0.6568 GB, free: 99.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/1.254, allocations: 465.5 kB / 0.6572 GB, free: 99.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.257, allocations: 0.4899 MB / 0.6577 GB, free: 99.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/1.263, allocations: 4.944 MB / 0.6625 GB, free: 96.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/1.264, allocations: 1.73 MB / 0.6642 GB, free: 96.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001506/1.266, allocations: 378.5 kB / 0.6646 GB, free: 96.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/1.266, allocations: 162.4 kB / 0.6647 GB, free: 96.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.824e-06/1.266, allocations: 0 / 0.6647 GB, free: 96.02 MB / 426.7 MB Notification: Performance of Templates: time 0.06718/1.333, allocations: 31.27 MB / 0.6953 GB, free: 94.18 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches