Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001475, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 86 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.022e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5924/0.7033, allocations: 102.4 MB / 471.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.7036, allocations: 75.02 kB / 471.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9125/1.616, allocations: 193.5 MB / 0.6494 GB, free: 29.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.616, allocations: 0 / 0.6494 GB, free: 29.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005353/1.617, allocations: 92 kB / 0.6495 GB, free: 29.64 MB / 410.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.01147/1.628, allocations: 4.675 MB / 0.6541 GB, free: 24.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.628, allocations: 12.03 kB / 0.6541 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.63, allocations: 0.7448 MB / 0.6548 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/1.642, allocations: 4.52 MB / 0.6592 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/1.643, allocations: 73.89 kB / 0.6593 GB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/1.643, allocations: 99.89 kB / 0.6594 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/1.646, allocations: 1.449 MB / 0.6608 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/1.646, allocations: 0 / 0.6608 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/1.647, allocations: 39.94 kB / 0.6609 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/1.647, allocations: 43.97 kB / 0.6609 GB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/1.65, allocations: 1.363 MB / 0.6622 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/1.666, allocations: 5.865 MB / 0.668 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/1.669, allocations: 0.8846 MB / 0.6688 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/1.671, allocations: 1.16 MB / 0.6699 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4127/2.083, allocations: 71.88 MB / 0.7401 GB, free: 33.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/2.084, allocations: 0.5141 MB / 0.7406 GB, free: 33.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 4.879e-06/2.085, allocations: 1.406 kB / 0.7406 GB, free: 33.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.003331/2.088, allocations: 1.462 MB / 0.7421 GB, free: 33.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/2.088, allocations: 480.7 kB / 0.7425 GB, free: 32.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/2.099, allocations: 4.796 MB / 0.7472 GB, free: 32.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002587/2.099, allocations: 48.39 kB / 0.7473 GB, free: 32.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002694/2.102, allocations: 2.368 MB / 0.7496 GB, free: 31.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005215/2.102, allocations: 295.2 kB / 0.7499 GB, free: 31.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/2.102, allocations: 31.31 kB / 0.7499 GB, free: 31.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/2.102, allocations: 365.4 kB / 0.7502 GB, free: 31.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/2.103, allocations: 342.8 kB / 0.7506 GB, free: 31.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/2.105, allocations: 1.127 MB / 0.7517 GB, free: 30.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/2.106, allocations: 0.5152 MB / 0.7522 GB, free: 30.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/2.106, allocations: 9.812 kB / 0.7522 GB, free: 30.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003396/2.109, allocations: 1.49 MB / 0.7536 GB, free: 30.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/2.109, allocations: 20.8 kB / 0.7536 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002997/2.11, allocations: 162.2 kB / 0.7538 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.009e-05/2.11, allocations: 37.75 kB / 0.7538 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/2.112, allocations: 370.7 kB / 0.7542 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.792e-05/2.112, allocations: 50.02 kB / 0.7542 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/2.116, allocations: 204.2 kB / 0.7544 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/2.116, allocations: 122 kB / 0.7546 GB, free: 30.16 MB / 426.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.0003956/2.116, allocations: 217.7 kB / 0.7548 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/2.117, allocations: 0.7217 MB / 0.7555 GB, free: 29.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00805/2.126, allocations: 2.141 MB / 0.7576 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/2.126, allocations: 10.28 kB / 0.7576 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/2.126, allocations: 2.188 kB / 0.7576 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/2.126, allocations: 3.75 kB / 0.7576 GB, free: 29.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009115/2.135, allocations: 3.734 MB / 0.7612 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002752/2.135, allocations: 140.7 kB / 0.7614 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/2.137, allocations: 164.2 kB / 0.7615 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/2.137, allocations: 4.844 kB / 0.7615 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/2.137, allocations: 62.61 kB / 0.7616 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/2.137, allocations: 6.578 kB / 0.7616 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.137, allocations: 0 / 0.7616 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/2.141, allocations: 2.105 MB / 0.7636 GB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/2.144, allocations: 0.9373 MB / 0.7646 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/2.145, allocations: 16.88 kB / 0.7646 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/2.148, allocations: 50.09 kB / 0.7646 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/2.148, allocations: 101.1 kB / 0.7647 GB, free: 27.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/2.148, allocations: 72.77 kB / 0.7648 GB, free: 27.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008835/2.157, allocations: 3.639 MB / 0.7683 GB, free: 27.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.535e-06/2.157, allocations: 0 / 0.7683 GB, free: 27.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00425/2.161, allocations: 1.183 MB / 0.7695 GB, free: 27.53 MB / 426.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.002699/2.164, allocations: 1.239 MB / 0.7707 GB, free: 27.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003244/2.167, allocations: 1.325 MB / 0.772 GB, free: 27.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.168, allocations: 3.344 kB / 0.772 GB, free: 27.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/2.169, allocations: 0.7118 MB / 0.7727 GB, free: 26.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/2.175, allocations: 0.9661 MB / 0.7736 GB, free: 26.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/2.19, allocations: 6.138 MB / 0.7796 GB, free: 24.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/2.193, allocations: 2.729 MB / 0.7823 GB, free: 24.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/2.194, allocations: 314.2 kB / 0.7826 GB, free: 24.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/2.194, allocations: 0 / 0.7826 GB, free: 24.15 MB / 426.7 MB Notification: Performance of Templates: time 0.1516/2.345, allocations: 68.97 MB / 0.8499 GB, free: 3.145 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches