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.001038/0.001038, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001039, allocations: 97.5 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.985e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09897, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4653, allocations: 104.5 MB / 499.7 MB, free: 4.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.4657, allocations: 69.97 kB / 499.7 MB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6259/1.092, allocations: 213.9 MB / 0.6969 GB, free: 42.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.092, allocations: 0 / 0.6969 GB, free: 42.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004769/1.092, allocations: 84 kB / 0.697 GB, free: 42.57 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.008839/1.101, allocations: 4.658 MB / 0.7015 GB, free: 37.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.101, allocations: 8.031 kB / 0.7015 GB, free: 37.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.102, allocations: 0.7501 MB / 0.7023 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008151/1.111, allocations: 4.48 MB / 0.7066 GB, free: 32.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/1.111, allocations: 28 kB / 0.7067 GB, free: 32.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/1.111, allocations: 73.91 kB / 0.7067 GB, free: 32.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002313/1.114, allocations: 1.309 MB / 0.708 GB, free: 31.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.116, allocations: 1.32 MB / 0.7093 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.116, allocations: 7.922 kB / 0.7093 GB, free: 29.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.116, allocations: 0 / 0.7093 GB, free: 29.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/1.116, allocations: 39.97 kB / 0.7093 GB, free: 29.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/1.129, allocations: 5.648 MB / 0.7149 GB, free: 24.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.13, allocations: 0.8429 MB / 0.7157 GB, free: 23.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.132, allocations: 1.119 MB / 0.7168 GB, free: 22.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3268/1.459, allocations: 72.99 MB / 0.7881 GB, free: 36.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006466/1.46, allocations: 490.2 kB / 0.7885 GB, free: 36.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 3.857e-06/1.46, allocations: 3.656 kB / 0.7885 GB, free: 36.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.00236/1.462, allocations: 1.419 MB / 0.7899 GB, free: 35.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/1.462, allocations: 484.1 kB / 0.7904 GB, free: 35.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.472, allocations: 4.381 MB / 0.7946 GB, free: 34.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/1.472, allocations: 30.92 kB / 0.7947 GB, free: 34.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.475, allocations: 2.932 MB / 0.7975 GB, free: 34.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/1.475, allocations: 294.2 kB / 0.7978 GB, free: 34.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/1.475, allocations: 2.062 kB / 0.7978 GB, free: 34.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/1.475, allocations: 361.1 kB / 0.7982 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/1.476, allocations: 315.9 kB / 0.7985 GB, free: 33.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007963/1.477, allocations: 1.086 MB / 0.7995 GB, free: 32.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/1.477, allocations: 492.2 kB / 0.8 GB, free: 32.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.477, allocations: 10.72 kB / 0.8 GB, free: 32.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003224/1.481, allocations: 1.913 MB / 0.8019 GB, free: 32.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.481, allocations: 18.86 kB / 0.8019 GB, free: 32.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002699/1.481, allocations: 160.8 kB / 0.802 GB, free: 32.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.906e-05/1.481, allocations: 36.88 kB / 0.8021 GB, free: 32.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.482, allocations: 371.2 kB / 0.8024 GB, free: 32.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.686e-05/1.482, allocations: 46.59 kB / 0.8025 GB, free: 32.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/1.485, allocations: 178.6 kB / 0.8027 GB, free: 32.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/1.486, allocations: 123.7 kB / 0.8028 GB, free: 32.44 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.0004099/1.486, allocations: 171.1 kB / 0.8029 GB, free: 32.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.487, allocations: 0.7176 MB / 0.8036 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/1.494, allocations: 2.088 MB / 0.8057 GB, free: 31.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.494, allocations: 7.344 kB / 0.8057 GB, free: 31.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.494, allocations: 1.156 kB / 0.8057 GB, free: 31.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.494, allocations: 2.672 kB / 0.8057 GB, free: 31.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008814/1.502, allocations: 3.539 MB / 0.8091 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002273/1.503, allocations: 138.6 kB / 0.8093 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/1.504, allocations: 161.8 kB / 0.8094 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/1.504, allocations: 4.5 kB / 0.8094 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.504, allocations: 48.58 kB / 0.8095 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.799e-06/1.504, allocations: 3.938 kB / 0.8095 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.504, allocations: 1.125 kB / 0.8095 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/1.507, allocations: 2.054 MB / 0.8115 GB, free: 30.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.509, allocations: 0.9245 MB / 0.8124 GB, free: 30.22 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.51, allocations: 7.781 kB / 0.8124 GB, free: 30.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.512, allocations: 45.02 kB / 0.8124 GB, free: 30.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.512, allocations: 96.12 kB / 0.8125 GB, free: 30.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.512, allocations: 70.83 kB / 0.8126 GB, free: 30.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006047/1.518, allocations: 3.234 MB / 0.8158 GB, free: 29.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.518, allocations: 0 / 0.8158 GB, free: 29.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00319/1.521, allocations: 1.124 MB / 0.8169 GB, free: 29.95 MB / 458.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.001978/1.523, allocations: 1.306 MB / 0.8181 GB, free: 29.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/1.525, allocations: 1.244 MB / 0.8193 GB, free: 29.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.525, allocations: 0 / 0.8193 GB, free: 29.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008453/1.526, allocations: 0.7021 MB / 0.82 GB, free: 29.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005865/1.532, allocations: 1.143 MB / 0.8211 GB, free: 29.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.544, allocations: 5.973 MB / 0.827 GB, free: 27.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/1.547, allocations: 2.711 MB / 0.8296 GB, free: 26.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003495/1.551, allocations: 0.729 MB / 0.8303 GB, free: 26.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/1.552, allocations: 302.8 kB / 0.8306 GB, free: 26.6 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/1.552, allocations: 0 / 0.8306 GB, free: 26.6 MB / 458.7 MB Notification: Performance of Templates: time 0.09237/1.644, allocations: 51.41 MB / 0.8808 GB, free: 3.953 MB / 458.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