Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008417/0.0008417, allocations: 90.36 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.635e-05, allocations: 7.984 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09343, allocations: 51.47 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4108, allocations: 105.2 MB / 0.4953 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4111, allocations: 77.17 kB / 0.4954 GB, free: 492 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7135/1.125, allocations: 220.7 MB / 0.7109 GB, free: 25.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/1.125, allocations: 0 / 0.7109 GB, free: 25.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004255/1.125, allocations: 84 kB / 0.711 GB, free: 25.81 MB / 442.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.009124/1.134, allocations: 4.659 MB / 0.7155 GB, free: 21.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.134, allocations: 8.031 kB / 0.7155 GB, free: 21.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.136, allocations: 0.7473 MB / 0.7162 GB, free: 20.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008275/1.144, allocations: 4.483 MB / 0.7206 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/1.144, allocations: 66 kB / 0.7207 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/1.144, allocations: 102.2 kB / 0.7208 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/1.147, allocations: 1.446 MB / 0.7222 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.147, allocations: 0 / 0.7222 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.147, allocations: 43.98 kB / 0.7222 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/1.147, allocations: 39.98 kB / 0.7223 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/1.149, allocations: 1.363 MB / 0.7236 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/1.16, allocations: 5.841 MB / 0.7293 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/1.161, allocations: 0.8887 MB / 0.7302 GB, free: 5.828 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/1.162, allocations: 1.156 MB / 0.7313 GB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3179/1.48, allocations: 73.01 MB / 0.8026 GB, free: 26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007112/1.481, allocations: 0.5058 MB / 0.8031 GB, free: 25.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/1.481, allocations: 0 / 0.8031 GB, free: 25.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.002403/1.483, allocations: 1.454 MB / 0.8045 GB, free: 25.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/1.483, allocations: 482.1 kB / 0.805 GB, free: 24.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007979/1.491, allocations: 4.765 MB / 0.8096 GB, free: 24.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.491, allocations: 40.28 kB / 0.8097 GB, free: 24.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.494, allocations: 2.941 MB / 0.8125 GB, free: 24.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/1.494, allocations: 300.2 kB / 0.8128 GB, free: 23.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/1.494, allocations: 29.78 kB / 0.8129 GB, free: 23.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/1.494, allocations: 362.8 kB / 0.8132 GB, free: 23.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/1.495, allocations: 343.4 kB / 0.8135 GB, free: 23.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/1.496, allocations: 1.123 MB / 0.8146 GB, free: 22.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/1.497, allocations: 0.5151 MB / 0.8151 GB, free: 22.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/1.497, allocations: 6.844 kB / 0.8151 GB, free: 22.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003381/1.5, allocations: 2.093 MB / 0.8172 GB, free: 22.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/1.5, allocations: 16.66 kB / 0.8172 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/1.501, allocations: 158.3 kB / 0.8174 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-05/1.501, allocations: 35.84 kB / 0.8174 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.502, allocations: 371.7 kB / 0.8177 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.77e-05/1.502, allocations: 50.38 kB / 0.8178 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.504, allocations: 208.1 kB / 0.818 GB, free: 22.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/1.504, allocations: 123.3 kB / 0.8181 GB, free: 22.23 MB / 458.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.0002724/1.505, allocations: 217.1 kB / 0.8183 GB, free: 22.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/1.505, allocations: 0.7216 MB / 0.819 GB, free: 21.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/1.511, allocations: 2.127 MB / 0.8211 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.511, allocations: 7.469 kB / 0.8211 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.511, allocations: 0 / 0.8211 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.511, allocations: 4.578 kB / 0.8211 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/1.518, allocations: 3.721 MB / 0.8247 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002079/1.518, allocations: 140.4 kB / 0.8249 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008077/1.519, allocations: 159.1 kB / 0.825 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.519, allocations: 6.875 kB / 0.825 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.082e-05/1.519, allocations: 64.3 kB / 0.8251 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.519, allocations: 0.6875 kB / 0.8251 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.519, allocations: 3.781 kB / 0.8251 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/1.522, allocations: 2.09 MB / 0.8271 GB, free: 36.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.524, allocations: 0.9333 MB / 0.828 GB, free: 35.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/1.524, allocations: 17.92 kB / 0.8281 GB, free: 35.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.526, allocations: 53.48 kB / 0.8281 GB, free: 35.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/1.526, allocations: 104.9 kB / 0.8282 GB, free: 35.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.526, allocations: 72.52 kB / 0.8283 GB, free: 35.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005603/1.532, allocations: 3.615 MB / 0.8318 GB, free: 35.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.532, allocations: 0 / 0.8318 GB, free: 35.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00287/1.534, allocations: 1.177 MB / 0.833 GB, free: 35.62 MB / 474.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.001693/1.536, allocations: 1.229 MB / 0.8342 GB, free: 35.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/1.538, allocations: 1.322 MB / 0.8355 GB, free: 35.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.538, allocations: 3.625 kB / 0.8355 GB, free: 35.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/1.539, allocations: 0.7193 MB / 0.8362 GB, free: 35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005/1.544, allocations: 1.155 MB / 0.8373 GB, free: 34.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008921/1.553, allocations: 6.001 MB / 0.8431 GB, free: 33.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/1.556, allocations: 2.708 MB / 0.8458 GB, free: 32.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003121/1.559, allocations: 0.7346 MB / 0.8465 GB, free: 32.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/1.559, allocations: 306.7 kB / 0.8468 GB, free: 32.27 MB / 474.7 MB Notification: Performance of SimCode: time 1.854e-06/1.559, allocations: 0 / 0.8468 GB, free: 32.27 MB / 474.7 MB Notification: Performance of Templates: time 0.09436/1.653, allocations: 55.86 MB / 0.9014 GB, free: 4.477 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches