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.001395/0.001395, allocations: 176.8 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007809/0.000781, allocations: 74.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.339e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09081, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4609, allocations: 101.8 MB / 464.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.4611, allocations: 75.83 kB / 464.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4551/0.9162, allocations: 120.3 MB / 0.5715 GB, free: 93.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.9162, allocations: 0 / 0.5715 GB, free: 93.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.952e-05/0.9163, allocations: 43.12 kB / 0.5715 GB, free: 93.12 MB / 410.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.003968/0.9203, allocations: 2.709 MB / 0.5742 GB, free: 91.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.9204, allocations: 9.344 kB / 0.5742 GB, free: 91.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/0.9208, allocations: 395.7 kB / 0.5746 GB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.924, allocations: 2.371 MB / 0.5769 GB, free: 90.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.924, allocations: 22.14 kB / 0.5769 GB, free: 90.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.9242, allocations: 41.39 kB / 0.5769 GB, free: 90.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009068/0.9251, allocations: 0.6852 MB / 0.5776 GB, free: 90.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.926, allocations: 0.7204 MB / 0.5783 GB, free: 90.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.926, allocations: 8 kB / 0.5783 GB, free: 90.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.9261, allocations: 3.812 kB / 0.5783 GB, free: 90.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.9261, allocations: 19.14 kB / 0.5783 GB, free: 90.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/0.9309, allocations: 3.071 MB / 0.5813 GB, free: 88.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.9315, allocations: 471.3 kB / 0.5818 GB, free: 88.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.932, allocations: 0.5731 MB / 0.5823 GB, free: 88.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0269/0.9589, allocations: 36.15 MB / 0.6177 GB, free: 59.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.9594, allocations: 298.4 kB / 0.6179 GB, free: 59.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.015e-06/0.9594, allocations: 3.938 kB / 0.6179 GB, free: 59.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001275/0.9607, allocations: 0.7909 MB / 0.6187 GB, free: 58.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.9608, allocations: 272.9 kB / 0.619 GB, free: 58.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/0.9635, allocations: 2.319 MB / 0.6212 GB, free: 56.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.9636, allocations: 29.7 kB / 0.6213 GB, free: 56.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.9647, allocations: 1.497 MB / 0.6227 GB, free: 54.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.9648, allocations: 161.8 kB / 0.6229 GB, free: 54.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.9649, allocations: 0 / 0.6229 GB, free: 54.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.965, allocations: 345.9 kB / 0.6232 GB, free: 54.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.9652, allocations: 174.6 kB / 0.6234 GB, free: 54.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.9656, allocations: 0.5742 MB / 0.6239 GB, free: 53.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.966, allocations: 272.1 kB / 0.6242 GB, free: 53.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.9661, allocations: 4 kB / 0.6242 GB, free: 53.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00145/0.9675, allocations: 1.033 MB / 0.6252 GB, free: 52.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.9675, allocations: 12 kB / 0.6252 GB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.656e-05/0.9676, allocations: 79.98 kB / 0.6253 GB, free: 52.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.9677, allocations: 20 kB / 0.6253 GB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.9684, allocations: 216.1 kB / 0.6255 GB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.9684, allocations: 23.92 kB / 0.6255 GB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.9697, allocations: 107 kB / 0.6257 GB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/0.9698, allocations: 71.94 kB / 0.6257 GB, free: 51.6 MB / 410.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 () * 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.0001688/0.97, allocations: 141.2 kB / 0.6259 GB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.9702, allocations: 387.3 kB / 0.6262 GB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.9729, allocations: 1.113 MB / 0.6273 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.9729, allocations: 4 kB / 0.6273 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9729, allocations: 4 kB / 0.6273 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.9729, allocations: 3.984 kB / 0.6273 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.9759, allocations: 2.017 MB / 0.6293 GB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.187e-05/0.976, allocations: 67.98 kB / 0.6294 GB, free: 47.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.9765, allocations: 107.9 kB / 0.6295 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.9765, allocations: 0 / 0.6295 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.9765, allocations: 27.98 kB / 0.6295 GB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.9765, allocations: 4 kB / 0.6295 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9766, allocations: 0 / 0.6295 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.9777, allocations: 1.186 MB / 0.6306 GB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.9785, allocations: 0.5568 MB / 0.6312 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.9788, allocations: 11.95 kB / 0.6312 GB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.9795, allocations: 35.95 kB / 0.6312 GB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9797, allocations: 67.94 kB / 0.6313 GB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.9797, allocations: 35.98 kB / 0.6313 GB, free: 45.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001957/0.9817, allocations: 1.721 MB / 0.633 GB, free: 44 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9817, allocations: 0 / 0.633 GB, free: 44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001432/0.9832, allocations: 0.6165 MB / 0.6336 GB, free: 43.38 MB / 410.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) * 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.001109/0.9843, allocations: 0.9324 MB / 0.6345 GB, free: 42.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008761/0.9852, allocations: 0.6679 MB / 0.6352 GB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.9852, allocations: 1.375 kB / 0.6352 GB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.9856, allocations: 383.1 kB / 0.6355 GB, free: 41.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.987, allocations: 0.4901 MB / 0.636 GB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.9913, allocations: 3.113 MB / 0.6391 GB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009211/0.9922, allocations: 1.736 MB / 0.6408 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.9934, allocations: 378.7 kB / 0.6411 GB, free: 35.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.9937, allocations: 163.4 kB / 0.6413 GB, free: 35.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9937, allocations: 0 / 0.6413 GB, free: 35.51 MB / 410.7 MB Notification: Performance of Templates: time 0.04757/1.041, allocations: 28.24 MB / 0.6689 GB, free: 7.285 MB / 410.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