Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 100.1 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.73e-05, allocations: 0 / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09216, allocations: 50.41 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4339, allocations: 103.7 MB / 491.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4342, allocations: 67.97 kB / 491.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6693/1.104, allocations: 213 MB / 0.6877 GB, free: 16.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.104, allocations: 4 kB / 0.6877 GB, free: 16.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004575/1.104, allocations: 88 kB / 0.6878 GB, free: 16.03 MB / 426.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.008503/1.113, allocations: 4.644 MB / 0.6923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.113, allocations: 16.03 kB / 0.6924 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.114, allocations: 0.741 MB / 0.6931 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008043/1.122, allocations: 4.477 MB / 0.6975 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/1.122, allocations: 35.95 kB / 0.6975 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/1.123, allocations: 67.89 kB / 0.6976 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002255/1.125, allocations: 1.312 MB / 0.6988 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/1.127, allocations: 1.316 MB / 0.7001 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.127, allocations: 3.984 kB / 0.7001 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.127, allocations: 4 kB / 0.7001 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/1.127, allocations: 39.92 kB / 0.7002 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/1.139, allocations: 5.649 MB / 0.7057 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.14, allocations: 0.8468 MB / 0.7065 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.141, allocations: 1.131 MB / 0.7076 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.305/1.446, allocations: 71.64 MB / 0.7776 GB, free: 22.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/1.447, allocations: 493.7 kB / 0.778 GB, free: 22.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 4.438e-06/1.447, allocations: 3.844 kB / 0.778 GB, free: 22.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.002004/1.449, allocations: 1.427 MB / 0.7794 GB, free: 22.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/1.449, allocations: 483.2 kB / 0.7799 GB, free: 21.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/1.454, allocations: 4.376 MB / 0.7842 GB, free: 21.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/1.454, allocations: 33.19 kB / 0.7842 GB, free: 21.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/1.456, allocations: 2.939 MB / 0.7871 GB, free: 20.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/1.457, allocations: 288.4 kB / 0.7873 GB, free: 20.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/1.457, allocations: 0 / 0.7873 GB, free: 20.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/1.457, allocations: 364.2 kB / 0.7877 GB, free: 20.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/1.457, allocations: 319.3 kB / 0.788 GB, free: 20.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/1.458, allocations: 1.086 MB / 0.7891 GB, free: 19.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/1.458, allocations: 492.5 kB / 0.7895 GB, free: 19.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.459, allocations: 7.344 kB / 0.7895 GB, free: 19.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002531/1.461, allocations: 1.912 MB / 0.7914 GB, free: 19.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.461, allocations: 18.38 kB / 0.7914 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/1.461, allocations: 159.2 kB / 0.7916 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/1.461, allocations: 37.84 kB / 0.7916 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.462, allocations: 374.3 kB / 0.792 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/1.462, allocations: 45.62 kB / 0.792 GB, free: 19.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.465, allocations: 180 kB / 0.7922 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/1.465, allocations: 123.5 kB / 0.7923 GB, free: 19.05 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 () * 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.0002478/1.465, allocations: 177.5 kB / 0.7925 GB, free: 18.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007721/1.466, allocations: 0.7171 MB / 0.7932 GB, free: 18.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/1.471, allocations: 2.066 MB / 0.7952 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.471, allocations: 10.5 kB / 0.7952 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.471, allocations: 7.703 kB / 0.7952 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.471, allocations: 7.359 kB / 0.7952 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/1.477, allocations: 3.535 MB / 0.7987 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001641/1.477, allocations: 135.8 kB / 0.7988 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/1.478, allocations: 164.6 kB / 0.799 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.478, allocations: 7.766 kB / 0.799 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/1.478, allocations: 52.53 kB / 0.799 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.478, allocations: 3.828 kB / 0.799 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.478, allocations: 3.938 kB / 0.799 GB, free: 18.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/1.48, allocations: 2.046 MB / 0.801 GB, free: 17.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.482, allocations: 0.9355 MB / 0.8019 GB, free: 16.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006225/1.482, allocations: 14.81 kB / 0.8019 GB, free: 16.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.484, allocations: 40.83 kB / 0.802 GB, free: 16.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.484, allocations: 95.66 kB / 0.8021 GB, free: 16.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.484, allocations: 66.34 kB / 0.8021 GB, free: 16.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00501/1.489, allocations: 3.234 MB / 0.8053 GB, free: 16.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.489, allocations: 3.938 kB / 0.8053 GB, free: 16.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003488/1.492, allocations: 1.116 MB / 0.8064 GB, free: 16.53 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) * 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.002897/1.495, allocations: 1.286 MB / 0.8076 GB, free: 32.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/1.497, allocations: 1.25 MB / 0.8089 GB, free: 32.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.497, allocations: 3.25 kB / 0.8089 GB, free: 32.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/1.498, allocations: 0.6979 MB / 0.8095 GB, free: 31.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/1.504, allocations: 1.148 MB / 0.8107 GB, free: 31.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/1.513, allocations: 5.971 MB / 0.8165 GB, free: 29.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/1.515, allocations: 2.709 MB / 0.8191 GB, free: 29.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002669/1.518, allocations: 0.7275 MB / 0.8199 GB, free: 29.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/1.518, allocations: 307.5 kB / 0.8201 GB, free: 29.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/1.518, allocations: 0 / 0.8201 GB, free: 29.15 MB / 458.7 MB Notification: Performance of Templates: time 0.08555/1.604, allocations: 51.37 MB / 0.8703 GB, free: 15.14 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches