Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007597/0.0007597, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.919/0.919, allocations: 173.4 MB / 201.1 MB, free: 8.988 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.296e-05, allocations: 2.312 kB / 268 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005674/0.005697, allocations: 4.882 MB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.01741, allocations: 10.15 MB / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.01799, allocations: 51.5 kB / 283.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.01952, allocations: 0.622 MB / 283.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.02185, allocations: 1.051 MB / 284.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.02312, allocations: 0.6098 MB / 285.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.02528, allocations: 1.448 MB / 286.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.02552, allocations: 113.7 kB / 286.9 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.02624, allocations: 0.573 MB / 287.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.02659, allocations: 243.2 kB / 287.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.02666, allocations: 32 kB / 287.7 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.02784, allocations: 0.6633 MB / 288.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.894e-05/0.02794, allocations: 111.3 kB / 288.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.02818, allocations: 223.3 kB / 288.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.02949, allocations: 1.078 MB / 289.8 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.02949, allocations: 0 / 289.8 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02949, allocations: 0 / 289.8 MB, free: 348 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.0295, allocations: 0 / 289.8 MB, free: 348 kB / 266.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.1213/0.1508, allocations: 1.394 MB / 291.2 MB, free: 22.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1509, allocations: 10.67 kB / 291.2 MB, free: 22.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.151, allocations: 143.6 kB / 291.4 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.1516, allocations: 0.7203 MB / 292.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1516, allocations: 22.12 kB / 292.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1517, allocations: 32.16 kB / 292.1 MB, free: 22.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.152, allocations: 245.3 kB / 292.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.152, allocations: 7.688 kB / 292.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.152, allocations: 9.484 kB / 292.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.152, allocations: 7.719 kB / 292.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.1522, allocations: 143.9 kB / 292.5 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1533, allocations: 1.263 MB / 293.8 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1536, allocations: 181.7 kB / 294 MB, free: 21.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1537, allocations: 152.3 kB / 294.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/0.1555, allocations: 1.548 MB / 295.7 MB, free: 21.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.1557, allocations: 149.2 kB / 295.8 MB, free: 21.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.1557, allocations: 0 / 295.8 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006787/0.1564, allocations: 452.3 kB / 296.3 MB, free: 21.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.1564, allocations: 61.91 kB / 296.3 MB, free: 20.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.1571, allocations: 0.9009 MB / 297.2 MB, free: 20.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1571, allocations: 27.02 kB / 297.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.1573, allocations: 0.5169 MB / 297.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.1574, allocations: 105.1 kB / 297.9 MB, free: 20.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.1575, allocations: 80.91 kB / 298 MB, free: 20.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.1575, allocations: 498.7 kB / 298.4 MB, free: 19.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1576, allocations: 66.39 kB / 298.5 MB, free: 19.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1578, allocations: 205.4 kB / 298.7 MB, free: 19.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.158, allocations: 298 kB / 299 MB, free: 19.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.158, allocations: 0 / 299 MB, free: 19.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004745/0.1585, allocations: 447.6 kB / 299.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1585, allocations: 7.094 kB / 299.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.074e-05/0.1585, allocations: 33.78 kB / 299.5 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.1587, allocations: 52.64 kB / 299.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1589, allocations: 83.2 kB / 299.6 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.1601, allocations: 3.525 MB / 303.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.1605, allocations: 45.31 kB / 303.2 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.1606, allocations: 18.28 kB / 303.2 MB, free: 15.99 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.0001705/0.1607, allocations: 177.2 kB / 303.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1608, allocations: 123.1 kB / 303.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.1614, allocations: 398.2 kB / 303.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1614, allocations: 2.656 kB / 303.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1614, allocations: 1.469 kB / 303.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1614, allocations: 2.703 kB / 303.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.162, allocations: 0.5081 MB / 304.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.162, allocations: 28.83 kB / 304.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1622, allocations: 37.38 kB / 304.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.1623, allocations: 58.73 kB / 304.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.1623, allocations: 6.75 kB / 304.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008831/0.1632, allocations: 3.528 MB / 308 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1632, allocations: 4.062 kB / 308 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.1637, allocations: 462.3 kB / 308.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1638, allocations: 112.5 kB / 308.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.1639, allocations: 6.125 kB / 308.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.164, allocations: 12.55 kB / 308.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.1641, allocations: 25.97 kB / 308.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1641, allocations: 15.73 kB / 308.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000439/0.1645, allocations: 0.5286 MB / 309.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1645, allocations: 0 / 309.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005268/0.1651, allocations: 254.4 kB / 309.4 MB, free: 11.15 MB / 266.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.0004762/0.1655, allocations: 389.5 kB / 309.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.166, allocations: 0.596 MB / 310.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.166, allocations: 1.375 kB / 310.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.1663, allocations: 495.9 kB / 310.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1666, allocations: 116.2 kB / 311 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.168, allocations: 1.431 MB / 312.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.236e-05/0.168, allocations: 152.3 kB / 312.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.1682, allocations: 80.94 kB / 312.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.1682, allocations: 47.06 kB / 312.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1682, allocations: 0 / 312.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of Templates: time 0.01188/0.1801, allocations: 10.16 MB / 322.9 MB, free: 1.832 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.846200502011925]