Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8451/0.8451, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 3.938 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.82e-05, allocations: 10.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004935/0.004953, allocations: 4.725 MB / 257 MB, free: 2.508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009755/0.01471, allocations: 9.638 MB / 266.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.01535, allocations: 47.5 kB / 266.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.01679, allocations: 0.6106 MB / 267.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.01914, allocations: 1.035 MB / 268.3 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.0203, allocations: 0.6094 MB / 268.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.02192, allocations: 1.425 MB / 270.3 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.02212, allocations: 105.7 kB / 270.4 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000576/0.0227, allocations: 0.5457 MB / 271 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.02299, allocations: 243.2 kB / 271.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.02305, allocations: 32 kB / 271.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.024, allocations: 0.64 MB / 271.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.02409, allocations: 111.3 kB / 272 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.0243, allocations: 227.3 kB / 272.2 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.02543, allocations: 1.07 MB / 273.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.02544, allocations: 0 / 273.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02544, allocations: 0 / 273.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.02545, allocations: 0 / 273.3 MB, free: 2.102 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001504/0.02695, allocations: 1.417 MB / 274.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.02699, allocations: 11.98 kB / 274.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.02715, allocations: 144.2 kB / 274.9 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.02817, allocations: 0.7173 MB / 275.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.02819, allocations: 24.78 kB / 275.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.02824, allocations: 27.98 kB / 275.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.02857, allocations: 234.7 kB / 275.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.02858, allocations: 0 / 275.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.0286, allocations: 12 kB / 275.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.02861, allocations: 4 kB / 275.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.0288, allocations: 123.1 kB / 276 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.03004, allocations: 1.113 MB / 277.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.03029, allocations: 171.1 kB / 277.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.03044, allocations: 127.9 kB / 277.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002199/0.03264, allocations: 1.553 MB / 279 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.03282, allocations: 132.9 kB / 279.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.03282, allocations: 0 / 279.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007192/0.03354, allocations: 420.1 kB / 279.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.03357, allocations: 63.33 kB / 279.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.03426, allocations: 0.8836 MB / 280.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.03428, allocations: 25.7 kB / 280.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.03462, allocations: 0.5386 MB / 281 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.03469, allocations: 103.1 kB / 281.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.03479, allocations: 83.61 kB / 281.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.03491, allocations: 0.4887 MB / 281.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.03498, allocations: 44.8 kB / 281.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.03513, allocations: 202.9 kB / 281.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.03538, allocations: 279.4 kB / 282.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.03539, allocations: 4 kB / 282.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007223/0.03611, allocations: 412 kB / 282.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.03613, allocations: 11.94 kB / 282.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/0.03617, allocations: 35.94 kB / 282.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.03632, allocations: 51.34 kB / 282.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.03652, allocations: 71.88 kB / 282.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.03812, allocations: 3.478 MB / 286.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.03832, allocations: 39.67 kB / 286.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.03835, allocations: 16 kB / 286.3 MB, free: 4.418 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.0385, allocations: 180.5 kB / 286.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.0386, allocations: 119.3 kB / 286.6 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.03914, allocations: 371.2 kB / 287 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.03915, allocations: 4 kB / 287 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03915, allocations: 0 / 287 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.03915, allocations: 7.984 kB / 287 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.03954, allocations: 393.9 kB / 287.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.03957, allocations: 28 kB / 287.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.03971, allocations: 39.97 kB / 287.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.03982, allocations: 43.33 kB / 287.5 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.03984, allocations: 15.98 kB / 287.5 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.04152, allocations: 3.481 MB / 291 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.04152, allocations: 0 / 291 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.04201, allocations: 424.1 kB / 291.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.04215, allocations: 111.2 kB / 291.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.04224, allocations: 8.094 kB / 291.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.04239, allocations: 19.92 kB / 291.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.04246, allocations: 23.95 kB / 291.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.04248, allocations: 8 kB / 291.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003818/0.04286, allocations: 0.5031 MB / 292 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04286, allocations: 0 / 292 MB, free: 14.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.04338, allocations: 247.4 kB / 292.3 MB, free: 14.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004947/0.04387, allocations: 400.5 kB / 292.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.0444, allocations: 0.583 MB / 293.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0444, allocations: 0 / 293.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.04472, allocations: 493.4 kB / 293.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.0451, allocations: 116.7 kB / 293.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.0468, allocations: 1.419 MB / 295.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.0469, allocations: 149.6 kB / 295.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.04708, allocations: 85.2 kB / 295.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.04731, allocations: 186.2 kB / 295.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.04731, allocations: 0 / 295.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Templates: time 0.01321/0.06051, allocations: 9.81 MB / 305.5 MB, free: 0.7617 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.891961493063718]