Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001372/0.001372, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0011/0.0011, allocations: 90.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.274e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07955/0.07959, allocations: 47.57 MB / 370 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.3676, allocations: 102.4 MB / 472.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.3679, allocations: 68.72 kB / 472.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5528/0.9207, allocations: 193.5 MB / 0.6503 GB, free: 29.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.9207, allocations: 4 kB / 0.6503 GB, free: 29.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001809/0.9209, allocations: 84 kB / 0.6504 GB, free: 29.38 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.006395/0.9273, allocations: 4.679 MB / 0.655 GB, free: 24.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.9274, allocations: 12.03 kB / 0.655 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.9282, allocations: 0.7487 MB / 0.6557 GB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007627/0.9358, allocations: 4.509 MB / 0.6601 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.9359, allocations: 77.95 kB / 0.6602 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.9361, allocations: 103.9 kB / 0.6603 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.9381, allocations: 1.445 MB / 0.6617 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.9382, allocations: 0 / 0.6617 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.9383, allocations: 36 kB / 0.6618 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.9383, allocations: 39.97 kB / 0.6618 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.94, allocations: 1.363 MB / 0.6631 GB, free: 16.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00984/0.9499, allocations: 5.872 MB / 0.6689 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.9509, allocations: 0.8885 MB / 0.6697 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.9521, allocations: 1.156 MB / 0.6709 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2745/1.227, allocations: 71.89 MB / 0.7411 GB, free: 33.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007316/1.227, allocations: 0.5142 MB / 0.7416 GB, free: 33.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 1.417e-05/1.227, allocations: 0 / 0.7416 GB, free: 33.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.002554/1.23, allocations: 1.457 MB / 0.743 GB, free: 32.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.23, allocations: 486 kB / 0.7434 GB, free: 32.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006322/1.236, allocations: 4.794 MB / 0.7481 GB, free: 31.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/1.237, allocations: 46.38 kB / 0.7482 GB, free: 31.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001966/1.239, allocations: 2.943 MB / 0.751 GB, free: 31.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/1.239, allocations: 297.3 kB / 0.7513 GB, free: 31.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/1.239, allocations: 30.81 kB / 0.7514 GB, free: 31.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/1.239, allocations: 364 kB / 0.7517 GB, free: 31.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/1.24, allocations: 345.2 kB / 0.752 GB, free: 31.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/1.241, allocations: 1.121 MB / 0.7531 GB, free: 30.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/1.241, allocations: 0.5205 MB / 0.7536 GB, free: 30 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.241, allocations: 7.969 kB / 0.7536 GB, free: 30 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00297/1.244, allocations: 2.095 MB / 0.7557 GB, free: 29.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/1.244, allocations: 23.3 kB / 0.7557 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.244, allocations: 160.8 kB / 0.7559 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.795e-05/1.245, allocations: 37.66 kB / 0.7559 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.246, allocations: 365 kB / 0.7563 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.792e-05/1.246, allocations: 50.94 kB / 0.7563 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.248, allocations: 208.4 kB / 0.7565 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.248, allocations: 126.9 kB / 0.7566 GB, free: 29.55 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.0002698/1.249, allocations: 217.2 kB / 0.7568 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/1.249, allocations: 0.7191 MB / 0.7575 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/1.255, allocations: 2.144 MB / 0.7596 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.255, allocations: 9.406 kB / 0.7596 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.255, allocations: 0 / 0.7596 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.255, allocations: 3.422 kB / 0.7596 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006512/1.261, allocations: 3.729 MB / 0.7633 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001488/1.262, allocations: 141.5 kB / 0.7634 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/1.262, allocations: 164.6 kB / 0.7636 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.262, allocations: 6.938 kB / 0.7636 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.249e-05/1.262, allocations: 63.7 kB / 0.7636 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.262, allocations: 0.625 kB / 0.7636 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.262, allocations: 9.453 kB / 0.7636 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/1.265, allocations: 2.094 MB / 0.7657 GB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.268, allocations: 0.9386 MB / 0.7666 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008816/1.269, allocations: 21.53 kB / 0.7666 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.27, allocations: 52.72 kB / 0.7667 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.27, allocations: 100.8 kB / 0.7668 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.27, allocations: 67.78 kB / 0.7668 GB, free: 27.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006478/1.277, allocations: 3.641 MB / 0.7704 GB, free: 26.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.277, allocations: 0 / 0.7704 GB, free: 26.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004011/1.281, allocations: 1.183 MB / 0.7716 GB, free: 26.93 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.001833/1.283, allocations: 1.234 MB / 0.7728 GB, free: 26.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/1.285, allocations: 1.326 MB / 0.7741 GB, free: 26.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.285, allocations: 0 / 0.7741 GB, free: 26.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007007/1.285, allocations: 0.7177 MB / 0.7748 GB, free: 26.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.289, allocations: 0.9604 MB / 0.7757 GB, free: 26.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/1.299, allocations: 6.04 MB / 0.7816 GB, free: 24.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/1.301, allocations: 2.724 MB / 0.7842 GB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002622/1.303, allocations: 0.7285 MB / 0.785 GB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/1.304, allocations: 308.5 kB / 0.7853 GB, free: 23.54 MB / 426.7 MB Notification: Performance of SimCode: time 2.965e-06/1.304, allocations: 0 / 0.7853 GB, free: 23.54 MB / 426.7 MB Notification: Performance of Templates: time 0.09382/1.398, allocations: 55.94 MB / 0.8399 GB, free: 13 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches