Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00177/0.00177, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.977/2.977, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.001094/0.001094, allocations: 85.94 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004801, allocations: 16 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3199, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4315, allocations: 102.5 MB / 478.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4318, allocations: 71.97 kB / 478.3 MB, free: 9.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6996/1.131, allocations: 189.5 MB / 0.6522 GB, free: 52.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.938e-06/1.132, allocations: 3.156 kB / 0.6522 GB, free: 52.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004775/1.132, allocations: 85.41 kB / 0.6523 GB, free: 52.11 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.01112/1.143, allocations: 5.993 MB / 0.6581 GB, free: 49.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.143, allocations: 9.375 kB / 0.6581 GB, free: 49.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/1.144, allocations: 0.746 MB / 0.6589 GB, free: 48.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006479/1.151, allocations: 4.916 MB / 0.6637 GB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/1.151, allocations: 69.28 kB / 0.6637 GB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/1.151, allocations: 107.5 kB / 0.6638 GB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/1.153, allocations: 1.526 MB / 0.6653 GB, free: 47.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.153, allocations: 0 / 0.6653 GB, free: 47.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.153, allocations: 48.23 kB / 0.6654 GB, free: 47.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/1.153, allocations: 40.22 kB / 0.6654 GB, free: 47.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.155, allocations: 1.527 MB / 0.6669 GB, free: 47.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00894/1.164, allocations: 5.821 MB / 0.6726 GB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.166, allocations: 1.027 MB / 0.6736 GB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/1.167, allocations: 1.243 MB / 0.6748 GB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05129/1.218, allocations: 71.12 MB / 0.7443 GB, free: 25.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/1.219, allocations: 0.5825 MB / 0.7448 GB, free: 25.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 2.905e-06/1.219, allocations: 0 / 0.7448 GB, free: 25.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.002948/1.222, allocations: 1.958 MB / 0.7467 GB, free: 25.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/1.222, allocations: 480.8 kB / 0.7472 GB, free: 24.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005855/1.228, allocations: 5.752 MB / 0.7528 GB, free: 24.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.831e-05/1.228, allocations: 39.48 kB / 0.7529 GB, free: 24.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/1.23, allocations: 2.943 MB / 0.7557 GB, free: 23.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/1.23, allocations: 298.2 kB / 0.756 GB, free: 23.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/1.23, allocations: 31.34 kB / 0.756 GB, free: 23.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/1.231, allocations: 367.8 kB / 0.7564 GB, free: 23.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/1.231, allocations: 419.2 kB / 0.7568 GB, free: 23.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/1.232, allocations: 1.207 MB / 0.758 GB, free: 22.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/1.234, allocations: 1.658 MB / 0.7596 GB, free: 21.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.234, allocations: 11.53 kB / 0.7596 GB, free: 21.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002884/1.237, allocations: 2.257 MB / 0.7618 GB, free: 20.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.237, allocations: 14.69 kB / 0.7618 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.237, allocations: 164.9 kB / 0.762 GB, free: 20.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/1.237, allocations: 31.72 kB / 0.762 GB, free: 20.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/1.238, allocations: 372.3 kB / 0.7624 GB, free: 20.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.238, allocations: 49.27 kB / 0.7624 GB, free: 20.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.24, allocations: 203.3 kB / 0.7626 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/1.24, allocations: 127.1 kB / 0.7627 GB, free: 20.19 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.001389/1.242, allocations: 0.7209 MB / 0.7634 GB, free: 19.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004981/1.242, allocations: 0.7219 MB / 0.7641 GB, free: 19.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/1.246, allocations: 2.218 MB / 0.7663 GB, free: 18.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.246, allocations: 7.906 kB / 0.7663 GB, free: 18.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.246, allocations: 3.938 kB / 0.7663 GB, free: 18.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.246, allocations: 3.469 kB / 0.7663 GB, free: 18.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/1.251, allocations: 3.861 MB / 0.7701 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001342/1.252, allocations: 136 kB / 0.7702 GB, free: 16.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/1.252, allocations: 174 kB / 0.7704 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.252, allocations: 7.938 kB / 0.7704 GB, free: 16.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/1.252, allocations: 60.16 kB / 0.7705 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/1.252, allocations: 4 kB / 0.7705 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.252, allocations: 0 / 0.7705 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/1.255, allocations: 2.224 MB / 0.7726 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.256, allocations: 0.9162 MB / 0.7735 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.257, allocations: 23.94 kB / 0.7735 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.258, allocations: 51.75 kB / 0.7736 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.258, allocations: 105.4 kB / 0.7737 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.258, allocations: 71.75 kB / 0.7738 GB, free: 13.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003919/1.262, allocations: 3.708 MB / 0.7774 GB, free: 10.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.262, allocations: 3.594 kB / 0.7774 GB, free: 10.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001945/1.264, allocations: 1.176 MB / 0.7785 GB, free: 9.199 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.001534/1.266, allocations: 1.248 MB / 0.7798 GB, free: 8.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0022/1.268, allocations: 1.473 MB / 0.7812 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.268, allocations: 3.938 kB / 0.7812 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.269, allocations: 0.7975 MB / 0.782 GB, free: 6.219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.272, allocations: 0.9457 MB / 0.7829 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.285, allocations: 9.516 MB / 0.7922 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/1.287, allocations: 2.61 MB / 0.7947 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000559/1.287, allocations: 315.4 kB / 0.795 GB, free: 10.69 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/1.287, allocations: 0 / 0.795 GB, free: 10.69 MB / 458.7 MB Notification: Performance of Templates: time 0.3458/1.633, allocations: 72.24 MB / 0.8656 GB, free: 79.63 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches