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.001344/0.001344, allocations: 176.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 241.4 MB, free: 11.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007618/0.0007616, allocations: 96.7 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 12 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2153, allocations: 50.39 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3297, allocations: 104.5 MB / 0.4954 GB, free: 7.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.3299, allocations: 75.97 kB / 0.4954 GB, free: 7.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7693/1.099, allocations: 215.8 MB / 0.7061 GB, free: 60.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.099, allocations: 0 / 0.7061 GB, free: 60.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004428/1.1, allocations: 85.59 kB / 0.7062 GB, free: 60.05 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.01016/1.11, allocations: 5.963 MB / 0.712 GB, free: 56.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/1.11, allocations: 9.625 kB / 0.7121 GB, free: 56.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.111, allocations: 0.7419 MB / 0.7128 GB, free: 56.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/1.118, allocations: 4.874 MB / 0.7175 GB, free: 54.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/1.118, allocations: 69.28 kB / 0.7176 GB, free: 54.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/1.118, allocations: 100 kB / 0.7177 GB, free: 54.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.12, allocations: 1.536 MB / 0.7192 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.12, allocations: 0 / 0.7192 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.12, allocations: 38.81 kB / 0.7192 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/1.12, allocations: 43 kB / 0.7193 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.122, allocations: 1.515 MB / 0.7208 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008626/1.131, allocations: 5.811 MB / 0.7264 GB, free: 53.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.132, allocations: 1.022 MB / 0.7274 GB, free: 53.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/1.133, allocations: 1.237 MB / 0.7286 GB, free: 53.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05239/1.186, allocations: 70.9 MB / 0.7979 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/1.187, allocations: 0.5793 MB / 0.7984 GB, free: 1.598 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 3.236e-06/1.187, allocations: 0 / 0.7984 GB, free: 1.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.003946/1.191, allocations: 1.951 MB / 0.8003 GB, free: 15.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/1.191, allocations: 481.8 kB / 0.8008 GB, free: 15.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009643/1.201, allocations: 5.715 MB / 0.8064 GB, free: 9.387 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/1.201, allocations: 41.7 kB / 0.8064 GB, free: 9.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002681/1.204, allocations: 2.945 MB / 0.8093 GB, free: 6.391 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/1.204, allocations: 299.6 kB / 0.8096 GB, free: 6.098 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/1.204, allocations: 31.28 kB / 0.8096 GB, free: 6.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/1.204, allocations: 365.9 kB / 0.81 GB, free: 5.707 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008471/1.205, allocations: 415.3 kB / 0.8104 GB, free: 5.305 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/1.206, allocations: 1.21 MB / 0.8115 GB, free: 3.754 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/1.209, allocations: 1.663 MB / 0.8132 GB, free: 1.879 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/1.209, allocations: 8 kB / 0.8132 GB, free: 1.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003771/1.212, allocations: 2.238 MB / 0.8154 GB, free: 15.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.212, allocations: 16 kB / 0.8154 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/1.213, allocations: 164 kB / 0.8155 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-05/1.213, allocations: 35.94 kB / 0.8156 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.214, allocations: 372 kB / 0.8159 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.881e-05/1.214, allocations: 43.86 kB / 0.816 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.216, allocations: 206.1 kB / 0.8162 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.216, allocations: 128 kB / 0.8163 GB, free: 14.76 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.001768/1.218, allocations: 0.7188 MB / 0.817 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.219, allocations: 0.7141 MB / 0.8177 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005473/1.225, allocations: 2.202 MB / 0.8198 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.225, allocations: 15.88 kB / 0.8198 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.225, allocations: 0 / 0.8198 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.225, allocations: 7.984 kB / 0.8199 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00658/1.231, allocations: 3.835 MB / 0.8236 GB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001852/1.232, allocations: 143.9 kB / 0.8237 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/1.232, allocations: 167.8 kB / 0.8239 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.232, allocations: 4 kB / 0.8239 GB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-05/1.233, allocations: 59 kB / 0.824 GB, free: 6.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.233, allocations: 4 kB / 0.824 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.233, allocations: 3.562 kB / 0.824 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/1.236, allocations: 2.216 MB / 0.8261 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.238, allocations: 0.9196 MB / 0.827 GB, free: 3.645 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006187/1.239, allocations: 16 kB / 0.827 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.24, allocations: 51.95 kB / 0.8271 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/1.24, allocations: 100.4 kB / 0.8272 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.24, allocations: 79.92 kB / 0.8273 GB, free: 3.402 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.2014/1.442, allocations: 3.68 MB / 0.8309 GB, free: 105.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.442, allocations: 1 kB / 0.8309 GB, free: 105.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00361/1.445, allocations: 1.165 MB / 0.832 GB, free: 105.6 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) * 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.001544/1.447, allocations: 1.24 MB / 0.8332 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002228/1.449, allocations: 1.469 MB / 0.8346 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.449, allocations: 2.906 kB / 0.8346 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/1.45, allocations: 0.7904 MB / 0.8354 GB, free: 105 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005622/1.456, allocations: 1.153 MB / 0.8365 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.468, allocations: 9.219 MB / 0.8455 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.469, allocations: 2.596 MB / 0.8481 GB, free: 99.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002727/1.472, allocations: 0.7308 MB / 0.8488 GB, free: 99.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/1.473, allocations: 309.2 kB / 0.8491 GB, free: 99.79 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/1.473, allocations: 0 / 0.8491 GB, free: 99.79 MB / 474.7 MB Notification: Performance of Templates: time 0.08618/1.559, allocations: 58.09 MB / 0.9058 GB, free: 86.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/jenkins1/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