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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007911/0.0007915, allocations: 92.48 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001988/0.0001988, allocations: 4 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1949, allocations: 51.49 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3075, allocations: 105.1 MB / 0.5024 GB, free: 1.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3077, allocations: 74.75 kB / 0.5025 GB, free: 1.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.416/0.7237, allocations: 141.5 MB / 0.6407 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7238, allocations: 0 / 0.6407 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.177e-05/0.7239, allocations: 44 kB / 0.6408 GB, free: 15.85 MB / 426.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.005537/0.7294, allocations: 3.415 MB / 0.6441 GB, free: 12.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7295, allocations: 12.03 kB / 0.6441 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.7299, allocations: 395.2 kB / 0.6445 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.7335, allocations: 2.375 MB / 0.6468 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.7335, allocations: 37 kB / 0.6468 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7337, allocations: 59.92 kB / 0.6469 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.7351, allocations: 0.865 MB / 0.6477 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7351, allocations: 0 / 0.6477 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.7352, allocations: 20 kB / 0.6478 GB, free: 8.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.7352, allocations: 19.98 kB / 0.6478 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.7367, allocations: 0.8592 MB / 0.6486 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005342/0.742, allocations: 3.175 MB / 0.6517 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.7432, allocations: 0.6181 MB / 0.6523 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2251/0.9682, allocations: 36.55 MB / 0.688 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.969, allocations: 391.9 kB / 0.6884 GB, free: 71.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 2.836e-06/0.969, allocations: 0 / 0.6884 GB, free: 71.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.002575/0.9716, allocations: 1.466 MB / 0.6898 GB, free: 71.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.9717, allocations: 272.2 kB / 0.6901 GB, free: 70.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.9751, allocations: 2.536 MB / 0.6926 GB, free: 70.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.9752, allocations: 39.8 kB / 0.6926 GB, free: 70.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.9763, allocations: 1.502 MB / 0.6941 GB, free: 70.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9765, allocations: 163.4 kB / 0.6942 GB, free: 70.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.9765, allocations: 17.19 kB / 0.6942 GB, free: 70.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.9766, allocations: 342.2 kB / 0.6946 GB, free: 69.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.9771, allocations: 264.4 kB / 0.6948 GB, free: 69.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.9779, allocations: 0.6671 MB / 0.6955 GB, free: 69.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/0.9785, allocations: 353.9 kB / 0.6958 GB, free: 69.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.9785, allocations: 3.844 kB / 0.6958 GB, free: 69.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001863/0.9804, allocations: 1.264 MB / 0.697 GB, free: 69.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.9804, allocations: 13.16 kB / 0.6971 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.619e-05/0.9805, allocations: 84.27 kB / 0.6971 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.9805, allocations: 17.62 kB / 0.6972 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.9811, allocations: 218.5 kB / 0.6974 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.9812, allocations: 20.78 kB / 0.6974 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.9821, allocations: 127.1 kB / 0.6975 GB, free: 69.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.9822, allocations: 63.97 kB / 0.6976 GB, free: 69.1 MB / 442.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.000594/0.9828, allocations: 445.9 kB / 0.698 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.9831, allocations: 382.2 kB / 0.6984 GB, free: 68.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.9857, allocations: 1.274 MB / 0.6996 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9857, allocations: 6.062 kB / 0.6996 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9857, allocations: 0 / 0.6996 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9857, allocations: 6.938 kB / 0.6996 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.9886, allocations: 2.249 MB / 0.7018 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.657e-05/0.9887, allocations: 68.75 kB / 0.7019 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.9891, allocations: 108.1 kB / 0.702 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.9891, allocations: 0 / 0.702 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.9892, allocations: 27.97 kB / 0.702 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.9892, allocations: 7.5 kB / 0.702 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9892, allocations: 6.812 kB / 0.702 GB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.9909, allocations: 1.417 MB / 0.7034 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/0.9917, allocations: 0.5489 MB / 0.7039 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.992, allocations: 16.72 kB / 0.704 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.9926, allocations: 48.31 kB / 0.704 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.9927, allocations: 63.3 kB / 0.7041 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.9928, allocations: 40.22 kB / 0.7041 GB, free: 67.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00186/0.9947, allocations: 1.943 MB / 0.706 GB, free: 67.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9947, allocations: 0 / 0.706 GB, free: 67.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001286/0.996, allocations: 0.6422 MB / 0.7066 GB, free: 67.32 MB / 442.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.0009444/0.9969, allocations: 0.8387 MB / 0.7074 GB, free: 67.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.9982, allocations: 0.8514 MB / 0.7083 GB, free: 67.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9982, allocations: 2.906 kB / 0.7083 GB, free: 67.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.9988, allocations: 459.9 kB / 0.7087 GB, free: 66.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/1, allocations: 0.5964 MB / 0.7093 GB, free: 66.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/1.005, allocations: 4.908 MB / 0.7141 GB, free: 64.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/1.006, allocations: 1.728 MB / 0.7158 GB, free: 63.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001107/1.007, allocations: 383.1 kB / 0.7161 GB, free: 63.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/1.007, allocations: 158.1 kB / 0.7163 GB, free: 63.88 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/1.007, allocations: 1.906 kB / 0.7163 GB, free: 63.88 MB / 442.7 MB Notification: Performance of Templates: time 0.04464/1.052, allocations: 31.25 MB / 0.7468 GB, free: 59.72 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches