Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,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.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,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.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 177.9 kB / 8.699 MB, free: 384 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.651/1.651, allocations: 205.3 MB / 214.4 MB, free: 1.66 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.0008696/0.0008695, allocations: 86.38 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.243e-05/1.247e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08207, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/0.4055, allocations: 101.8 MB / 464.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4057, allocations: 71.97 kB / 464.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4511/0.8569, allocations: 122.1 MB / 0.5732 GB, free: 92.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8569, allocations: 0 / 0.5732 GB, free: 92.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002088/0.8571, allocations: 56.66 kB / 0.5733 GB, free: 92.98 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.004866/0.862, allocations: 2.797 MB / 0.576 GB, free: 91.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.862, allocations: 10.5 kB / 0.576 GB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.8627, allocations: 413.8 kB / 0.5764 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.8665, allocations: 2.433 MB / 0.5788 GB, free: 90.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.8666, allocations: 24.31 kB / 0.5788 GB, free: 90.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.8667, allocations: 37.5 kB / 0.5789 GB, free: 90.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009422/0.8677, allocations: 0.6816 MB / 0.5795 GB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009573/0.8687, allocations: 0.7218 MB / 0.5802 GB, free: 90.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.8687, allocations: 0 / 0.5802 GB, free: 90.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.8688, allocations: 3.969 kB / 0.5802 GB, free: 90.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.8688, allocations: 23.41 kB / 0.5803 GB, free: 90.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.8739, allocations: 3.172 MB / 0.5834 GB, free: 88.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.8744, allocations: 469.1 kB / 0.5838 GB, free: 88.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.8749, allocations: 0.568 MB / 0.5844 GB, free: 88.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02624/0.9012, allocations: 36.19 MB / 0.6197 GB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/0.9016, allocations: 301.7 kB / 0.62 GB, free: 57.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.9017, allocations: 0 / 0.62 GB, free: 57.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001174/0.9028, allocations: 0.7973 MB / 0.6208 GB, free: 57.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.9029, allocations: 277 kB / 0.621 GB, free: 56.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/0.9056, allocations: 2.457 MB / 0.6234 GB, free: 54.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.9057, allocations: 29.7 kB / 0.6235 GB, free: 54.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009704/0.9067, allocations: 1.58 MB / 0.625 GB, free: 52.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.9068, allocations: 165.5 kB / 0.6252 GB, free: 52.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.9068, allocations: 0 / 0.6252 GB, free: 52.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.9069, allocations: 334 kB / 0.6255 GB, free: 52.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.9071, allocations: 178.6 kB / 0.6257 GB, free: 51.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.9075, allocations: 0.5781 MB / 0.6262 GB, free: 51.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.9079, allocations: 264.8 kB / 0.6265 GB, free: 50.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9079, allocations: 4 kB / 0.6265 GB, free: 50.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001168/0.9091, allocations: 1.053 MB / 0.6275 GB, free: 49.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.9091, allocations: 12 kB / 0.6275 GB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-05/0.9092, allocations: 79.98 kB / 0.6276 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.9092, allocations: 20.78 kB / 0.6276 GB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.9099, allocations: 211.7 kB / 0.6278 GB, free: 49.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.9099, allocations: 23.95 kB / 0.6278 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.911, allocations: 114.9 kB / 0.6279 GB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.9111, allocations: 75.94 kB / 0.628 GB, free: 49.32 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.0001395/0.9112, allocations: 141.2 kB / 0.6282 GB, free: 49.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.9115, allocations: 411 kB / 0.6285 GB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.9138, allocations: 1.123 MB / 0.6296 GB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.9138, allocations: 7.984 kB / 0.6297 GB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9138, allocations: 0 / 0.6297 GB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.9138, allocations: 4 kB / 0.6297 GB, free: 47.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.9162, allocations: 2.09 MB / 0.6317 GB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.999e-05/0.9163, allocations: 67.98 kB / 0.6318 GB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.9168, allocations: 107.9 kB / 0.6319 GB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9168, allocations: 0 / 0.6319 GB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.9168, allocations: 27.98 kB / 0.6319 GB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.9168, allocations: 4 kB / 0.6319 GB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9168, allocations: 0 / 0.6319 GB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.918, allocations: 1.212 MB / 0.6331 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/0.9186, allocations: 0.5156 MB / 0.6336 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.9189, allocations: 3.953 kB / 0.6336 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.9197, allocations: 48.02 kB / 0.6336 GB, free: 43.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9198, allocations: 59.22 kB / 0.6337 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.9199, allocations: 39.98 kB / 0.6337 GB, free: 43.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001872/0.9218, allocations: 1.817 MB / 0.6355 GB, free: 41.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.9218, allocations: 0 / 0.6355 GB, free: 41.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001238/0.923, allocations: 0.6281 MB / 0.6361 GB, free: 40.93 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.001064/0.9241, allocations: 0.9791 MB / 0.6371 GB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007825/0.9249, allocations: 0.6717 MB / 0.6377 GB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9249, allocations: 0 / 0.6377 GB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.9252, allocations: 387 kB / 0.6381 GB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.9266, allocations: 0.5088 MB / 0.6386 GB, free: 38.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.9306, allocations: 3.269 MB / 0.6418 GB, free: 35.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.9315, allocations: 1.781 MB / 0.6435 GB, free: 33.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001142/0.9326, allocations: 386.8 kB / 0.6439 GB, free: 32.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.9328, allocations: 159.4 kB / 0.644 GB, free: 32.78 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.9328, allocations: 0 / 0.644 GB, free: 32.78 MB / 410.7 MB Notification: Performance of Templates: time 0.04299/0.9758, allocations: 29.29 MB / 0.6727 GB, free: 3.473 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches