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.0009998/0.0009999, allocations: 181.7 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.427/1.427, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008879/0.000888, allocations: 94.59 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.3984, allocations: 102.3 MB / 478.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.3987, allocations: 79.95 kB / 478.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.403/0.8018, allocations: 127.5 MB / 0.5915 GB, free: 23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8018, allocations: 0 / 0.5915 GB, free: 23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.237e-05/0.8019, allocations: 44 kB / 0.5915 GB, free: 22.96 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.005686/0.8076, allocations: 3.571 MB / 0.595 GB, free: 19.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.8077, allocations: 8.031 kB / 0.595 GB, free: 19.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.8081, allocations: 418.9 kB / 0.5954 GB, free: 18.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.8118, allocations: 2.464 MB / 0.5978 GB, free: 16.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.8118, allocations: 44.95 kB / 0.5978 GB, free: 16.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.812, allocations: 55.98 kB / 0.5979 GB, free: 16.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.8134, allocations: 0.8573 MB / 0.5987 GB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.8134, allocations: 0 / 0.5987 GB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.8135, allocations: 24 kB / 0.5988 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.8135, allocations: 19.98 kB / 0.5988 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.8149, allocations: 0.8592 MB / 0.5996 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.8202, allocations: 3.282 MB / 0.6028 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.8212, allocations: 0.6142 MB / 0.6034 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03511/0.8564, allocations: 36.05 MB / 0.6386 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008076/0.8572, allocations: 393.3 kB / 0.639 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 3.246e-06/0.8573, allocations: 0 / 0.639 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002758/0.86, allocations: 1.482 MB / 0.6405 GB, free: 15.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.8602, allocations: 277 kB / 0.6407 GB, free: 15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.8639, allocations: 2.706 MB / 0.6434 GB, free: 12.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.864, allocations: 37.7 kB / 0.6434 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.8654, allocations: 1.58 MB / 0.6449 GB, free: 10.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.8656, allocations: 177.5 kB / 0.6451 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.8657, allocations: 16 kB / 0.6451 GB, free: 10.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.8658, allocations: 338 kB / 0.6454 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.8664, allocations: 265.8 kB / 0.6457 GB, free: 9.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.8672, allocations: 0.6634 MB / 0.6463 GB, free: 9.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.8679, allocations: 348.5 kB / 0.6467 GB, free: 8.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.8679, allocations: 4 kB / 0.6467 GB, free: 8.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00268/0.8706, allocations: 1.28 MB / 0.6479 GB, free: 7.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.8707, allocations: 15.98 kB / 0.6479 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.8708, allocations: 79.98 kB / 0.648 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/0.8709, allocations: 20 kB / 0.648 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.8718, allocations: 215.8 kB / 0.6483 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.8718, allocations: 19.94 kB / 0.6483 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.8731, allocations: 127 kB / 0.6484 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.8732, allocations: 68 kB / 0.6485 GB, free: 6.844 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.001009/0.8742, allocations: 459.9 kB / 0.6489 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.8746, allocations: 407.1 kB / 0.6493 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.8777, allocations: 1.301 MB / 0.6506 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8777, allocations: 11.94 kB / 0.6506 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8777, allocations: 0 / 0.6506 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.8777, allocations: 3.984 kB / 0.6506 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.8816, allocations: 2.334 MB / 0.6528 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-05/0.8817, allocations: 67.98 kB / 0.6529 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.8822, allocations: 111.9 kB / 0.653 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.8822, allocations: 4 kB / 0.653 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.8822, allocations: 28 kB / 0.653 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.8823, allocations: 3.953 kB / 0.6531 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8823, allocations: 7.984 kB / 0.6531 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.8845, allocations: 1.432 MB / 0.6545 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.8855, allocations: 0.5232 MB / 0.655 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.8858, allocations: 8 kB / 0.655 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2448/1.131, allocations: 49.91 kB / 0.655 GB, free: 97.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.131, allocations: 64.77 kB / 0.6551 GB, free: 97.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.594e-05/1.131, allocations: 34.56 kB / 0.6551 GB, free: 97.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00272/1.134, allocations: 2.072 MB / 0.6571 GB, free: 97.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.134, allocations: 0 / 0.6571 GB, free: 97.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001976/1.136, allocations: 0.657 MB / 0.6578 GB, free: 97.22 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.001762/1.137, allocations: 0.8871 MB / 0.6587 GB, free: 97.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/1.139, allocations: 0.8391 MB / 0.6595 GB, free: 97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.139, allocations: 5.031 kB / 0.6595 GB, free: 97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/1.14, allocations: 469.4 kB / 0.6599 GB, free: 96.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.142, allocations: 0.5253 MB / 0.6604 GB, free: 96.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/1.148, allocations: 5.141 MB / 0.6655 GB, free: 94.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/1.149, allocations: 1.779 MB / 0.6672 GB, free: 93.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001278/1.151, allocations: 393.1 kB / 0.6676 GB, free: 93.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/1.151, allocations: 162.9 kB / 0.6677 GB, free: 93.7 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/1.151, allocations: 0 / 0.6677 GB, free: 93.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05786/1.209, allocations: 32.86 MB / 0.6998 GB, free: 91.23 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