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.0008903/0.0008904, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.226/1.226, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0006844/0.0006844, allocations: 81.3 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.2834, allocations: 102.4 MB / 479.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.2836, allocations: 71.97 kB / 479.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3538/0.6375, allocations: 123.5 MB / 0.5889 GB, free: 26.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6375, allocations: 0 / 0.5889 GB, free: 26.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001931/0.6377, allocations: 44 kB / 0.5889 GB, free: 26.32 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.005195/0.6429, allocations: 3.392 MB / 0.5922 GB, free: 22.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.643, allocations: 12.03 kB / 0.5922 GB, free: 22.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/0.6434, allocations: 400.3 kB / 0.5926 GB, free: 22.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.647, allocations: 2.586 MB / 0.5951 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.6471, allocations: 40.98 kB / 0.5952 GB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.6472, allocations: 48 kB / 0.5952 GB, free: 19.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.6486, allocations: 0.8691 MB / 0.5961 GB, free: 18.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.6486, allocations: 0 / 0.5961 GB, free: 18.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.6487, allocations: 20 kB / 0.5961 GB, free: 18.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.6487, allocations: 19.98 kB / 0.5961 GB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.6501, allocations: 0.8632 MB / 0.5969 GB, free: 17.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.6551, allocations: 3.17 MB / 0.6 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009993/0.6561, allocations: 0.6181 MB / 0.6006 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.6569, allocations: 0.6749 MB / 0.6013 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03113/0.6881, allocations: 35.77 MB / 0.6362 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.6889, allocations: 393.3 kB / 0.6366 GB, free: 4.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.6889, allocations: 0 / 0.6366 GB, free: 4.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002295/0.6912, allocations: 1.159 MB / 0.6377 GB, free: 2.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6913, allocations: 273 kB / 0.638 GB, free: 2.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.6959, allocations: 3.014 MB / 0.641 GB, free: 15.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.696, allocations: 37.7 kB / 0.641 GB, free: 15.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.6973, allocations: 1.505 MB / 0.6425 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.6975, allocations: 165.7 kB / 0.6426 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.6976, allocations: 16 kB / 0.6426 GB, free: 13.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6977, allocations: 341.9 kB / 0.643 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.6983, allocations: 265.8 kB / 0.6432 GB, free: 13.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.6991, allocations: 0.6712 MB / 0.6439 GB, free: 12.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.7005, allocations: 0.9404 MB / 0.6448 GB, free: 11.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.7006, allocations: 0 / 0.6448 GB, free: 11.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002143/0.7027, allocations: 1.265 MB / 0.646 GB, free: 9.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.7028, allocations: 15.94 kB / 0.646 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.7029, allocations: 84.08 kB / 0.6461 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.7029, allocations: 20 kB / 0.6461 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.7036, allocations: 211.7 kB / 0.6463 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/0.7036, allocations: 23.88 kB / 0.6464 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.7048, allocations: 127 kB / 0.6465 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.7049, allocations: 64 kB / 0.6465 GB, free: 9.383 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.0008335/0.7057, allocations: 437.5 kB / 0.647 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.7062, allocations: 387.4 kB / 0.6473 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.7092, allocations: 1.256 MB / 0.6486 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.7093, allocations: 8 kB / 0.6486 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7093, allocations: 0 / 0.6486 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7093, allocations: 3.938 kB / 0.6486 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/0.713, allocations: 2.233 MB / 0.6507 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/0.7132, allocations: 75.98 kB / 0.6508 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.7137, allocations: 103.9 kB / 0.6509 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.7137, allocations: 4 kB / 0.6509 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.7137, allocations: 28 kB / 0.6509 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.7138, allocations: 7.938 kB / 0.651 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7138, allocations: 3.984 kB / 0.651 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.716, allocations: 1.368 MB / 0.6523 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.717, allocations: 0.5452 MB / 0.6528 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.7175, allocations: 8 kB / 0.6528 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/0.7184, allocations: 55.95 kB / 0.6529 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.7186, allocations: 55.94 kB / 0.6529 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/0.7187, allocations: 43.98 kB / 0.653 GB, free: 2.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002854/0.7215, allocations: 1.955 MB / 0.6549 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7215, allocations: 0 / 0.6549 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001565/0.7231, allocations: 0.6555 MB / 0.6555 GB, free: 16 kB / 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.1897/0.9128, allocations: 0.8477 MB / 0.6564 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.9154, allocations: 0.8531 MB / 0.6572 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.9154, allocations: 0 / 0.6572 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.9165, allocations: 472.5 kB / 0.6576 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/0.9205, allocations: 499.2 kB / 0.6581 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008786/0.9293, allocations: 4.94 MB / 0.6629 GB, free: 97.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.9306, allocations: 1.666 MB / 0.6646 GB, free: 97.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002352/0.933, allocations: 385.1 kB / 0.6649 GB, free: 97.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.9334, allocations: 159.4 kB / 0.6651 GB, free: 97.23 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9334, allocations: 3.219 kB / 0.6651 GB, free: 97.23 MB / 426.7 MB Notification: Performance of Templates: time 0.08468/1.018, allocations: 33.15 MB / 0.6975 GB, free: 94.55 MB / 426.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/jenkins1/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