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.001282/0.001282, allocations: 172.6 kB / 14.1 MB, free: 1.223 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.451/1.451, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008011/0.0008013, allocations: 90.67 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.487e-05, allocations: 8 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08149, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/0.3844, allocations: 102.2 MB / 472.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.3847, allocations: 73.52 kB / 472.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4407/0.8254, allocations: 127.3 MB / 0.5856 GB, free: 89.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.8254, allocations: 0 / 0.5856 GB, free: 89.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.966e-05/0.8255, allocations: 51.84 kB / 0.5856 GB, free: 89.66 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.003969/0.8295, allocations: 2.801 MB / 0.5884 GB, free: 87.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8295, allocations: 7.156 kB / 0.5884 GB, free: 87.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.83, allocations: 418.9 kB / 0.5888 GB, free: 87.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.8336, allocations: 2.432 MB / 0.5912 GB, free: 86.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.8337, allocations: 40.86 kB / 0.5912 GB, free: 86.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.8338, allocations: 54.81 kB / 0.5913 GB, free: 86.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.835, allocations: 0.7962 MB / 0.592 GB, free: 86.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.835, allocations: 0 / 0.592 GB, free: 86.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.8351, allocations: 20.75 kB / 0.5921 GB, free: 86.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.8351, allocations: 21.84 kB / 0.5921 GB, free: 86.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009283/0.836, allocations: 0.7155 MB / 0.5928 GB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/0.8416, allocations: 3.283 MB / 0.596 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.8423, allocations: 490.5 kB / 0.5964 GB, free: 84.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005775/0.8429, allocations: 0.5929 MB / 0.597 GB, free: 83.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02536/0.8682, allocations: 36.21 MB / 0.6324 GB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.8687, allocations: 313.5 kB / 0.6327 GB, free: 43.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.8687, allocations: 0 / 0.6327 GB, free: 43.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001081/0.8698, allocations: 0.8287 MB / 0.6335 GB, free: 42.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.8698, allocations: 261 kB / 0.6337 GB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.8727, allocations: 2.667 MB / 0.6363 GB, free: 39.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.8728, allocations: 41.69 kB / 0.6364 GB, free: 39.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009468/0.8737, allocations: 1.58 MB / 0.6379 GB, free: 37.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.8738, allocations: 165.7 kB / 0.6381 GB, free: 37.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.8739, allocations: 16 kB / 0.6381 GB, free: 37.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.933e-05/0.8739, allocations: 337.9 kB / 0.6384 GB, free: 37.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.8742, allocations: 194 kB / 0.6386 GB, free: 37.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.8746, allocations: 0.601 MB / 0.6392 GB, free: 36.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.875, allocations: 280.3 kB / 0.6395 GB, free: 36.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.875, allocations: 7.938 kB / 0.6395 GB, free: 36.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001389/0.8764, allocations: 1.142 MB / 0.6406 GB, free: 35.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8764, allocations: 8 kB / 0.6406 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.461e-05/0.8765, allocations: 83.98 kB / 0.6407 GB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.8766, allocations: 19.94 kB / 0.6407 GB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.8773, allocations: 216.4 kB / 0.6409 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.8773, allocations: 31.81 kB / 0.6409 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8784, allocations: 127 kB / 0.641 GB, free: 34.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.8785, allocations: 64 kB / 0.6411 GB, free: 34.5 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.0001456/0.8787, allocations: 160.6 kB / 0.6413 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.879, allocations: 403.1 kB / 0.6416 GB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.8815, allocations: 1.165 MB / 0.6428 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.8815, allocations: 4 kB / 0.6428 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8815, allocations: 3.984 kB / 0.6428 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8815, allocations: 7.938 kB / 0.6428 GB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.8844, allocations: 2.189 MB / 0.6449 GB, free: 30.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-05/0.8845, allocations: 75.98 kB / 0.645 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.8849, allocations: 99.92 kB / 0.6451 GB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.885, allocations: 4 kB / 0.6451 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.885, allocations: 39.94 kB / 0.6451 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.885, allocations: 7.938 kB / 0.6452 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.885, allocations: 3.938 kB / 0.6452 GB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.8863, allocations: 1.236 MB / 0.6464 GB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008003/0.8871, allocations: 0.5155 MB / 0.6469 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.8874, allocations: 8 kB / 0.6469 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.8881, allocations: 56.02 kB / 0.6469 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.8882, allocations: 55.94 kB / 0.647 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.8883, allocations: 36 kB / 0.647 GB, free: 28.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002121/0.8904, allocations: 2.035 MB / 0.649 GB, free: 26.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8904, allocations: 0 / 0.649 GB, free: 26.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001268/0.8917, allocations: 0.6634 MB / 0.6497 GB, free: 25.62 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.0009839/0.8927, allocations: 0.8877 MB / 0.6505 GB, free: 24.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.8936, allocations: 0.7121 MB / 0.6512 GB, free: 24.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8936, allocations: 3.938 kB / 0.6512 GB, free: 24.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.894, allocations: 391.1 kB / 0.6516 GB, free: 23.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.8954, allocations: 0.5254 MB / 0.6521 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.8995, allocations: 3.283 MB / 0.6553 GB, free: 19.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.9003, allocations: 1.782 MB / 0.6571 GB, free: 18.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001184/0.9015, allocations: 386.8 kB / 0.6574 GB, free: 17.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.9018, allocations: 159.4 kB / 0.6576 GB, free: 17.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.9018, allocations: 0 / 0.6576 GB, free: 17.55 MB / 410.7 MB Notification: Performance of Templates: time 0.2437/1.145, allocations: 34.36 MB / 0.6911 GB, free: 105.1 MB / 426.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