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.0009442/0.0009442, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008836/0.0008836, allocations: 88.64 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002248, allocations: 8 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2048, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3175, allocations: 105.2 MB / 0.5026 GB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3177, allocations: 76.61 kB / 0.5027 GB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7268/1.045, allocations: 220.6 MB / 0.7181 GB, free: 67.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.504e-06/1.045, allocations: 0 / 0.7181 GB, free: 67.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001676/1.045, allocations: 92.94 kB / 0.7182 GB, free: 67.15 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.007427/1.052, allocations: 6.032 MB / 0.7241 GB, free: 63.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.052, allocations: 10.97 kB / 0.7241 GB, free: 63.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/1.053, allocations: 0.7434 MB / 0.7248 GB, free: 63.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/1.059, allocations: 4.538 MB / 0.7293 GB, free: 62.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/1.059, allocations: 67.56 kB / 0.7293 GB, free: 62.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.059, allocations: 100.3 kB / 0.7294 GB, free: 62.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/1.061, allocations: 1.525 MB / 0.7309 GB, free: 62.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.061, allocations: 6.797 kB / 0.7309 GB, free: 62.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.061, allocations: 39.44 kB / 0.731 GB, free: 62.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/1.061, allocations: 40.67 kB / 0.731 GB, free: 62.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/1.063, allocations: 1.51 MB / 0.7325 GB, free: 62.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007577/1.071, allocations: 5.856 MB / 0.7382 GB, free: 61.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/1.072, allocations: 1.021 MB / 0.7392 GB, free: 61.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05172/1.124, allocations: 72.65 MB / 0.8101 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000872/1.125, allocations: 0.5822 MB / 0.8107 GB, free: 12.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 2.955e-06/1.125, allocations: 0 / 0.8107 GB, free: 12.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.00331/1.128, allocations: 2.575 MB / 0.8132 GB, free: 9.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/1.128, allocations: 479.2 kB / 0.8137 GB, free: 9.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007813/1.136, allocations: 4.834 MB / 0.8184 GB, free: 4.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.593e-05/1.136, allocations: 41.7 kB / 0.8184 GB, free: 4.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002694/1.139, allocations: 2.946 MB / 0.8213 GB, free: 1.211 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/1.139, allocations: 302.4 kB / 0.8216 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/1.139, allocations: 24 kB / 0.8216 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/1.139, allocations: 373.6 kB / 0.822 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/1.14, allocations: 419.1 kB / 0.8224 GB, free: 124 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/1.141, allocations: 1.205 MB / 0.8236 GB, free: 14.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/1.142, allocations: 0.5827 MB / 0.8241 GB, free: 14.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/1.142, allocations: 8 kB / 0.8241 GB, free: 14.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003558/1.146, allocations: 2.243 MB / 0.8263 GB, free: 11.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.146, allocations: 19.94 kB / 0.8263 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001999/1.146, allocations: 165.7 kB / 0.8265 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/1.146, allocations: 36 kB / 0.8265 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.147, allocations: 368.4 kB / 0.8269 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.171e-05/1.147, allocations: 46.58 kB / 0.8269 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/1.15, allocations: 209.5 kB / 0.8271 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.15, allocations: 120 kB / 0.8273 GB, free: 11.07 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.001376/1.151, allocations: 0.7241 MB / 0.828 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/1.152, allocations: 0.7141 MB / 0.8287 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/1.157, allocations: 2.274 MB / 0.8309 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.157, allocations: 4 kB / 0.8309 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.157, allocations: 4 kB / 0.8309 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.157, allocations: 3.984 kB / 0.8309 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006532/1.164, allocations: 3.858 MB / 0.8347 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001642/1.164, allocations: 140 kB / 0.8348 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/1.165, allocations: 165 kB / 0.8349 GB, free: 3.266 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.165, allocations: 4 kB / 0.8349 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.165, allocations: 55.98 kB / 0.835 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.165, allocations: 4 kB / 0.835 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.165, allocations: 7.953 kB / 0.835 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.168, allocations: 2.31 MB / 0.8373 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.17, allocations: 0.9274 MB / 0.8382 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009056/1.171, allocations: 19.95 kB / 0.8382 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.173, allocations: 55.95 kB / 0.8382 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.173, allocations: 100.5 kB / 0.8383 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.173, allocations: 67.98 kB / 0.8384 GB, free: 15.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004529/1.177, allocations: 3.688 MB / 0.842 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.177, allocations: 0 / 0.842 GB, free: 11.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002361/1.18, allocations: 1.177 MB / 0.8432 GB, free: 10.8 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.001498/1.181, allocations: 1.239 MB / 0.8444 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/1.183, allocations: 1.467 MB / 0.8458 GB, free: 8.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.184, allocations: 8.062 kB / 0.8458 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.185, allocations: 0.7824 MB / 0.8466 GB, free: 7.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.188, allocations: 1.153 MB / 0.8477 GB, free: 6.359 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1785/1.367, allocations: 9.212 MB / 0.8567 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/1.368, allocations: 2.711 MB / 0.8593 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002603/1.371, allocations: 0.7307 MB / 0.8601 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/1.371, allocations: 304.7 kB / 0.8603 GB, free: 108.7 MB / 490.7 MB Notification: Performance of SimCode: time 9.81e-07/1.371, allocations: 2.844 kB / 0.8604 GB, free: 108.7 MB / 490.7 MB Notification: Performance of Templates: time 0.08312/1.455, allocations: 54.58 MB / 0.9136 GB, free: 104.5 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/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