Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 180.6 kB / 17.01 MB, free: 5.121 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.53/1.53, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0008501/0.0008501, allocations: 80.17 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002755, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2666, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3862, allocations: 102.4 MB / 478.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.3866, allocations: 79.95 kB / 478.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8469/1.233, allocations: 193.6 MB / 0.6562 GB, free: 53.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.234, allocations: 0 / 0.6562 GB, free: 53.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005135/1.234, allocations: 87.69 kB / 0.6562 GB, free: 53.23 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01368/1.248, allocations: 6.065 MB / 0.6622 GB, free: 50.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.248, allocations: 7.719 kB / 0.6622 GB, free: 50.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/1.249, allocations: 0.7531 MB / 0.6629 GB, free: 49.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/1.261, allocations: 4.566 MB / 0.6674 GB, free: 48.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.261, allocations: 74.12 kB / 0.6674 GB, free: 48.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/1.261, allocations: 103.5 kB / 0.6675 GB, free: 48.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.264, allocations: 1.532 MB / 0.669 GB, free: 48.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.264, allocations: 0 / 0.669 GB, free: 48.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/1.264, allocations: 40.28 kB / 0.6691 GB, free: 48.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/1.264, allocations: 46.47 kB / 0.6691 GB, free: 48.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/1.266, allocations: 1.515 MB / 0.6706 GB, free: 48.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/1.277, allocations: 5.87 MB / 0.6763 GB, free: 47.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/1.279, allocations: 1.026 MB / 0.6773 GB, free: 47.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06186/1.341, allocations: 71.59 MB / 0.7472 GB, free: 27.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000996/1.342, allocations: 0.5801 MB / 0.7478 GB, free: 27.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 2.915e-06/1.342, allocations: 0 / 0.7478 GB, free: 27.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.004216/1.346, allocations: 2.587 MB / 0.7503 GB, free: 25.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/1.347, allocations: 481.8 kB / 0.7508 GB, free: 25.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006881/1.353, allocations: 4.865 MB / 0.7555 GB, free: 24.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000313/1.354, allocations: 44.48 kB / 0.7556 GB, free: 24.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/1.356, allocations: 2.949 MB / 0.7585 GB, free: 24.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/1.356, allocations: 301.5 kB / 0.7587 GB, free: 24.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/1.356, allocations: 31 kB / 0.7588 GB, free: 24.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/1.357, allocations: 362.8 kB / 0.7591 GB, free: 23.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/1.357, allocations: 420.2 kB / 0.7595 GB, free: 23.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.359, allocations: 1.203 MB / 0.7607 GB, free: 22.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/1.36, allocations: 0.5827 MB / 0.7613 GB, free: 22.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.36, allocations: 6.156 kB / 0.7613 GB, free: 22.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004126/1.364, allocations: 2.245 MB / 0.7635 GB, free: 21.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.364, allocations: 12.91 kB / 0.7635 GB, free: 21.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/1.364, allocations: 166 kB / 0.7636 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.464e-05/1.364, allocations: 37.91 kB / 0.7637 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.365, allocations: 370.8 kB / 0.764 GB, free: 21.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.16e-05/1.365, allocations: 47.33 kB / 0.7641 GB, free: 21.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/1.369, allocations: 214.3 kB / 0.7643 GB, free: 21.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/1.369, allocations: 119.5 kB / 0.7644 GB, free: 21.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.002353/1.371, allocations: 0.7295 MB / 0.7651 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.373, allocations: 0.7216 MB / 0.7658 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/1.379, allocations: 2.287 MB / 0.768 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.379, allocations: 10.38 kB / 0.768 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.379, allocations: 2.484 kB / 0.7681 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.379, allocations: 2.578 kB / 0.7681 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007164/1.386, allocations: 3.873 MB / 0.7718 GB, free: 17.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000138/1.386, allocations: 137.9 kB / 0.772 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/1.387, allocations: 164.3 kB / 0.7721 GB, free: 16.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.387, allocations: 0 / 0.7721 GB, free: 16.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/1.387, allocations: 65.72 kB / 0.7722 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.387, allocations: 4 kB / 0.7722 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.387, allocations: 0 / 0.7722 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/1.39, allocations: 2.325 MB / 0.7745 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.392, allocations: 0.94 MB / 0.7754 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007119/1.393, allocations: 23.95 kB / 0.7754 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.394, allocations: 50.64 kB / 0.7755 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/1.395, allocations: 97.5 kB / 0.7755 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.395, allocations: 67.84 kB / 0.7756 GB, free: 13.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005305/1.4, allocations: 3.714 MB / 0.7792 GB, free: 10.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.4, allocations: 4.469 kB / 0.7792 GB, free: 10.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00393/1.404, allocations: 1.176 MB / 0.7804 GB, free: 9.402 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.002579/1.407, allocations: 1.24 MB / 0.7816 GB, free: 8.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/1.409, allocations: 1.468 MB / 0.783 GB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.409, allocations: 0 / 0.783 GB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.411, allocations: 0.7907 MB / 0.7838 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/1.415, allocations: 0.9543 MB / 0.7847 GB, free: 5.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.431, allocations: 9.306 MB / 0.7938 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/1.435, allocations: 2.72 MB / 0.7965 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003406/1.438, allocations: 0.7338 MB / 0.7972 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/1.439, allocations: 307.4 kB / 0.7975 GB, free: 10.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/1.439, allocations: 3.281 kB / 0.7975 GB, free: 10.27 MB / 458.7 MB Notification: Performance of Templates: time 0.3414/1.78, allocations: 54.61 MB / 0.8508 GB, free: 91.52 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches