Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008987/0.0008989, allocations: 106.3 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.787e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 51.47 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4839, allocations: 104.4 MB / 499.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.4841, allocations: 75.64 kB / 499.6 MB, free: 5.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5154/0.9995, allocations: 136.2 MB / 0.6209 GB, free: 77.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.9995, allocations: 0 / 0.6209 GB, free: 77.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002433/0.9998, allocations: 44.28 kB / 0.6209 GB, free: 77.81 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005757/1.006, allocations: 2.701 MB / 0.6236 GB, free: 76.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.006, allocations: 8.656 kB / 0.6236 GB, free: 76.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/1.006, allocations: 401 kB / 0.624 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/1.011, allocations: 2.343 MB / 0.6263 GB, free: 75.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/1.011, allocations: 15.12 kB / 0.6263 GB, free: 75.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.011, allocations: 41.27 kB / 0.6263 GB, free: 75.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/1.012, allocations: 0.6847 MB / 0.627 GB, free: 75.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/1.013, allocations: 0.7251 MB / 0.6277 GB, free: 75.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.013, allocations: 0 / 0.6277 GB, free: 75.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/1.013, allocations: 1.281 kB / 0.6277 GB, free: 75.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/1.013, allocations: 24.02 kB / 0.6277 GB, free: 75.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005847/1.019, allocations: 3.054 MB / 0.6307 GB, free: 74.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/1.02, allocations: 475.7 kB / 0.6312 GB, free: 74.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/1.021, allocations: 0.573 MB / 0.6317 GB, free: 74.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02733/1.048, allocations: 36.72 MB / 0.6676 GB, free: 45.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/1.048, allocations: 308.7 kB / 0.6679 GB, free: 44.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 2.455e-06/1.048, allocations: 2.375 kB / 0.6679 GB, free: 44.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001305/1.05, allocations: 0.7754 MB / 0.6686 GB, free: 44.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/1.05, allocations: 275.5 kB / 0.6689 GB, free: 44.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/1.053, allocations: 2.306 MB / 0.6711 GB, free: 43.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/1.053, allocations: 29.7 kB / 0.6712 GB, free: 43.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000948/1.054, allocations: 1.494 MB / 0.6726 GB, free: 42.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.054, allocations: 157.9 kB / 0.6728 GB, free: 41.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/1.054, allocations: 0 / 0.6728 GB, free: 41.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/1.054, allocations: 342.5 kB / 0.6731 GB, free: 41.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/1.054, allocations: 174.6 kB / 0.6733 GB, free: 41.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/1.055, allocations: 0.5725 MB / 0.6738 GB, free: 40.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/1.055, allocations: 271.8 kB / 0.6741 GB, free: 40.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.055, allocations: 9.5 kB / 0.6741 GB, free: 40.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001618/1.057, allocations: 1.027 MB / 0.6751 GB, free: 40.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.057, allocations: 10.56 kB / 0.6751 GB, free: 40.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.057, allocations: 79.41 kB / 0.6752 GB, free: 40.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/1.057, allocations: 20.09 kB / 0.6752 GB, free: 40.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/1.058, allocations: 218.1 kB / 0.6754 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/1.058, allocations: 23.81 kB / 0.6754 GB, free: 40.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.059, allocations: 109.8 kB / 0.6755 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/1.059, allocations: 63 kB / 0.6756 GB, free: 40.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001702/1.059, allocations: 155.9 kB / 0.6758 GB, free: 40.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/1.06, allocations: 378.8 kB / 0.6761 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/1.062, allocations: 1.108 MB / 0.6772 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.062, allocations: 3.469 kB / 0.6772 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.062, allocations: 0 / 0.6772 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.062, allocations: 7.094 kB / 0.6772 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/1.065, allocations: 1.997 MB / 0.6792 GB, free: 38.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.042e-05/1.065, allocations: 68.73 kB / 0.6792 GB, free: 38.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/1.066, allocations: 109.6 kB / 0.6793 GB, free: 38.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.066, allocations: 3.875 kB / 0.6793 GB, free: 38.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/1.066, allocations: 25.41 kB / 0.6794 GB, free: 38.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.066, allocations: 3.625 kB / 0.6794 GB, free: 38.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.066, allocations: 7.953 kB / 0.6794 GB, free: 38.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.067, allocations: 1.179 MB / 0.6805 GB, free: 38.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/1.068, allocations: 0.5609 MB / 0.6811 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/1.068, allocations: 9.344 kB / 0.6811 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/1.069, allocations: 33.92 kB / 0.6811 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.069, allocations: 63.8 kB / 0.6812 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/1.069, allocations: 42.44 kB / 0.6812 GB, free: 37.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002136/1.071, allocations: 1.707 MB / 0.6829 GB, free: 36.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.071, allocations: 0 / 0.6829 GB, free: 36.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001661/1.073, allocations: 0.6125 MB / 0.6835 GB, free: 36.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001235/1.074, allocations: 0.9291 MB / 0.6844 GB, free: 36.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008984/1.075, allocations: 0.6619 MB / 0.685 GB, free: 36.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.075, allocations: 3.938 kB / 0.685 GB, free: 36.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/1.075, allocations: 384.9 kB / 0.6854 GB, free: 36.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.078, allocations: 0.586 MB / 0.686 GB, free: 35.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/1.082, allocations: 3.102 MB / 0.689 GB, free: 34.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009556/1.083, allocations: 1.723 MB / 0.6907 GB, free: 33.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001262/1.084, allocations: 382.2 kB / 0.691 GB, free: 33.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/1.085, allocations: 160.4 kB / 0.6912 GB, free: 33.64 MB / 442.7 MB Notification: Performance of SimCode: time 7.62e-07/1.085, allocations: 4 kB / 0.6912 GB, free: 33.64 MB / 442.7 MB Notification: Performance of Templates: time 0.04534/1.13, allocations: 28.23 MB / 0.7188 GB, free: 14.26 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches