Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.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.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 200.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.5 MB / 245.4 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000791/0.0007912, allocations: 95.34 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000216/0.0002162, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2058, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3195, allocations: 104.7 MB / 0.502 GB, free: 2.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3198, allocations: 75.97 kB / 0.5021 GB, free: 2.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3353/0.6551, allocations: 98.43 MB / 0.5982 GB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6551, allocations: 0 / 0.5982 GB, free: 13.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.372e-05/0.6552, allocations: 20 kB / 0.5982 GB, free: 13.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003637/0.6588, allocations: 1.933 MB / 0.6001 GB, free: 11.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6589, allocations: 8.031 kB / 0.6001 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.6592, allocations: 198.3 kB / 0.6003 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.661, allocations: 1.303 MB / 0.6016 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.661, allocations: 20.56 kB / 0.6016 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.6611, allocations: 27.91 kB / 0.6016 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.6619, allocations: 0.5025 MB / 0.6021 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.662, allocations: 3.938 kB / 0.6021 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.662, allocations: 15.98 kB / 0.6021 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.662, allocations: 15.98 kB / 0.6022 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.6629, allocations: 0.5059 MB / 0.6027 GB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.6655, allocations: 1.642 MB / 0.6043 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.6663, allocations: 419.3 kB / 0.6047 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.6669, allocations: 433.8 kB / 0.6051 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/0.6822, allocations: 18.25 MB / 0.6229 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006067/0.6829, allocations: 287.1 kB / 0.6232 GB, free: 1.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.555e-06/0.6829, allocations: 0 / 0.6232 GB, free: 1.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.002081/0.685, allocations: 0.8971 MB / 0.624 GB, free: 124 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.6851, allocations: 162.2 kB / 0.6242 GB, free: 15.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.6871, allocations: 1.436 MB / 0.6256 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.6871, allocations: 37.7 kB / 0.6256 GB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.6877, allocations: 0.7187 MB / 0.6263 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.6878, allocations: 98.69 kB / 0.6264 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.6879, allocations: 12 kB / 0.6264 GB, free: 13.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.688, allocations: 326 kB / 0.6268 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.6884, allocations: 173 kB / 0.6269 GB, free: 13.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.6889, allocations: 403.8 kB / 0.6273 GB, free: 12.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009573/0.6899, allocations: 0.5812 MB / 0.6279 GB, free: 11.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6899, allocations: 0 / 0.6279 GB, free: 11.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001477/0.6914, allocations: 0.7827 MB / 0.6286 GB, free: 11.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6914, allocations: 8 kB / 0.6286 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.406e-05/0.6915, allocations: 44.09 kB / 0.6287 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.6918, allocations: 136.8 kB / 0.6288 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.6922, allocations: 119.8 kB / 0.6289 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/0.6928, allocations: 0.685 MB / 0.6296 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.6935, allocations: 79.56 kB / 0.6297 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.6936, allocations: 39.94 kB / 0.6297 GB, free: 9.992 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004721/0.694, allocations: 270.3 kB / 0.63 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.6943, allocations: 189.7 kB / 0.6302 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.6962, allocations: 0.7933 MB / 0.6309 GB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6962, allocations: 4 kB / 0.6309 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6962, allocations: 64 / 0.6309 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.6962, allocations: 11.98 kB / 0.6309 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.6985, allocations: 1.358 MB / 0.6323 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.803e-05/0.6985, allocations: 36 kB / 0.6323 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.6988, allocations: 59.95 kB / 0.6324 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.699, allocations: 128.8 kB / 0.6325 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.6991, allocations: 19.98 kB / 0.6325 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004953/0.6996, allocations: 0.6733 MB / 0.6332 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6996, allocations: 4.031 kB / 0.6332 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.7008, allocations: 0.7358 MB / 0.6339 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.7012, allocations: 278.8 kB / 0.6341 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.7014, allocations: 8 kB / 0.6342 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.7019, allocations: 47.89 kB / 0.6342 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.702, allocations: 43.89 kB / 0.6342 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.7021, allocations: 20 kB / 0.6343 GB, free: 5.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.7033, allocations: 0.9415 MB / 0.6352 GB, free: 4.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7033, allocations: 0 / 0.6352 GB, free: 4.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001/0.7043, allocations: 367.6 kB / 0.6355 GB, free: 3.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.7053, allocations: 0.6321 MB / 0.6361 GB, free: 3.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.7065, allocations: 0.5486 MB / 0.6367 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7065, allocations: 0 / 0.6367 GB, free: 2.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.7072, allocations: 319.2 kB / 0.637 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.7086, allocations: 286.7 kB / 0.6373 GB, free: 2.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.7122, allocations: 2.485 MB / 0.6397 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.7129, allocations: 1.156 MB / 0.6408 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.7135, allocations: 178.5 kB / 0.641 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.7136, allocations: 79.42 kB / 0.6411 GB, free: 14.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.993e-06/0.7136, allocations: 3.938 kB / 0.6411 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Templates: time 0.03217/0.7458, allocations: 20.03 MB / 0.6606 GB, free: 10.12 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Inverter/Inverter.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches