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.001502/0.001502, allocations: 200.1 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007889/0.0007888, allocations: 95.92 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.3498, allocations: 105.2 MB / 0.5025 GB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.35, allocations: 71.97 kB / 0.5026 GB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7296/1.08, allocations: 216.3 MB / 0.7138 GB, free: 67.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.08, allocations: 0 / 0.7138 GB, free: 67.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002227/1.08, allocations: 85.84 kB / 0.7139 GB, free: 67.56 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.009209/1.089, allocations: 5.958 MB / 0.7197 GB, free: 64.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/1.089, allocations: 10.22 kB / 0.7197 GB, free: 64.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008171/1.09, allocations: 0.7432 MB / 0.7205 GB, free: 63.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006537/1.097, allocations: 4.872 MB / 0.7252 GB, free: 62.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/1.097, allocations: 71.39 kB / 0.7253 GB, free: 62.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.097, allocations: 96.16 kB / 0.7254 GB, free: 62.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/1.099, allocations: 1.537 MB / 0.7269 GB, free: 62.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.099, allocations: 3.656 kB / 0.7269 GB, free: 62.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/1.099, allocations: 41.84 kB / 0.7269 GB, free: 62.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/1.099, allocations: 34.64 kB / 0.727 GB, free: 62.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/1.101, allocations: 1.523 MB / 0.7285 GB, free: 62.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009257/1.111, allocations: 5.807 MB / 0.7341 GB, free: 61.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/1.112, allocations: 1.031 MB / 0.7351 GB, free: 61.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.113, allocations: 1.234 MB / 0.7363 GB, free: 61.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05074/1.164, allocations: 72.19 MB / 0.8068 GB, free: 17.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008562/1.165, allocations: 0.5805 MB / 0.8074 GB, free: 16.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 2.955e-06/1.165, allocations: 0 / 0.8074 GB, free: 16.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.002849/1.168, allocations: 1.949 MB / 0.8093 GB, free: 14.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/1.168, allocations: 481.4 kB / 0.8098 GB, free: 14.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006186/1.174, allocations: 5.713 MB / 0.8153 GB, free: 9.109 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/1.175, allocations: 45.7 kB / 0.8154 GB, free: 9.059 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/1.177, allocations: 2.941 MB / 0.8183 GB, free: 6.113 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/1.177, allocations: 297.2 kB / 0.8185 GB, free: 5.828 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/1.177, allocations: 28 kB / 0.8186 GB, free: 5.801 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.177, allocations: 365.9 kB / 0.8189 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/1.178, allocations: 415.1 kB / 0.8193 GB, free: 5.035 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/1.179, allocations: 1.214 MB / 0.8205 GB, free: 3.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/1.182, allocations: 1.66 MB / 0.8221 GB, free: 1.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.182, allocations: 8 kB / 0.8221 GB, free: 1.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003599/1.185, allocations: 2.242 MB / 0.8243 GB, free: 15.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.185, allocations: 19.94 kB / 0.8243 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/1.186, allocations: 164 kB / 0.8245 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/1.186, allocations: 35.94 kB / 0.8245 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.187, allocations: 370.5 kB / 0.8249 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-05/1.187, allocations: 45.17 kB / 0.8249 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.189, allocations: 208.1 kB / 0.8251 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.189, allocations: 127 kB / 0.8252 GB, free: 14.65 MB / 474.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.001715/1.191, allocations: 0.7224 MB / 0.8259 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000729/1.191, allocations: 0.7141 MB / 0.8266 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/1.197, allocations: 2.196 MB / 0.8288 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.197, allocations: 11.94 kB / 0.8288 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.197, allocations: 0 / 0.8288 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.197, allocations: 3.984 kB / 0.8288 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/1.203, allocations: 3.844 MB / 0.8326 GB, free: 7.273 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001852/1.203, allocations: 143.9 kB / 0.8327 GB, free: 7.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/1.204, allocations: 172.3 kB / 0.8329 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.204, allocations: 4 kB / 0.8329 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/1.204, allocations: 52 kB / 0.8329 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.204, allocations: 7.984 kB / 0.8329 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.204, allocations: 0 / 0.8329 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/1.207, allocations: 2.215 MB / 0.8351 GB, free: 4.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.209, allocations: 0.9118 MB / 0.836 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/1.209, allocations: 20 kB / 0.836 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.21, allocations: 55.89 kB / 0.836 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.211, allocations: 96.48 kB / 0.8361 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.211, allocations: 75.98 kB / 0.8362 GB, free: 3.469 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005079/1.216, allocations: 3.686 MB / 0.8398 GB, free: 15.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.216, allocations: 3.938 kB / 0.8398 GB, free: 15.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002479/1.218, allocations: 1.171 MB / 0.841 GB, free: 14.64 MB / 490.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.001614/1.22, allocations: 1.247 MB / 0.8422 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002405/1.222, allocations: 1.474 MB / 0.8436 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.222, allocations: 0 / 0.8436 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.224, allocations: 0.7864 MB / 0.8444 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.229, allocations: 1.151 MB / 0.8455 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.243, allocations: 9.224 MB / 0.8545 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2011/1.444, allocations: 2.592 MB / 0.857 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002972/1.447, allocations: 0.7307 MB / 0.8578 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.447, allocations: 307.7 kB / 0.8581 GB, free: 108.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/1.447, allocations: 0 / 0.8581 GB, free: 108.4 MB / 490.7 MB Notification: Performance of Templates: time 0.09024/1.538, allocations: 58.13 MB / 0.9148 GB, free: 103.8 MB / 490.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/jenkins1/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