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.0007126/0.0007126, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000952/0.001665, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006263/0.0006263, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008354/0.001462, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.034/1.034, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08399/1.118, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.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.542e-06/1.542e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.708e-05, allocations: 2.875 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005868/0.005895, allocations: 4.87 MB / 244.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009727/0.01562, allocations: 10.18 MB / 254.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.01586, allocations: 47.5 kB / 254.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008179/0.01668, allocations: 0.642 MB / 255.3 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.01795, allocations: 1.03 MB / 256.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.01857, allocations: 0.5207 MB / 256.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.01967, allocations: 1.421 MB / 258.2 MB, free: 388 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.01983, allocations: 122.4 kB / 258.4 MB, free: 248 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005268/0.02035, allocations: 0.7018 MB / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.02056, allocations: 243.1 kB / 259.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.02085, allocations: 28 kB / 259.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008141/0.02167, allocations: 0.7638 MB / 260.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.02173, allocations: 87.38 kB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.02188, allocations: 199.4 kB / 260.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007903/0.02267, allocations: 0.9692 MB / 261.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.02269, allocations: 7.984 kB / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02269, allocations: 0 / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.0227, allocations: 4 kB / 261.4 MB, free: 13.23 MB / 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.001194/0.0239, allocations: 1.523 MB / 262.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.02393, allocations: 12.03 kB / 262.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.713e-05/0.02401, allocations: 96.77 kB / 263 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.02457, allocations: 0.6054 MB / 263.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.02458, allocations: 21.03 kB / 263.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.02462, allocations: 24.38 kB / 263.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.02487, allocations: 233.4 kB / 263.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.02489, allocations: 4 kB / 263.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.02491, allocations: 12 kB / 263.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.02492, allocations: 8 kB / 263.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.02505, allocations: 91.17 kB / 264 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.02591, allocations: 0.8448 MB / 264.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.02612, allocations: 193.4 kB / 265 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.02623, allocations: 108.8 kB / 265.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002071/0.0283, allocations: 1.518 MB / 266.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.02845, allocations: 127.2 kB / 266.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.02846, allocations: 0 / 266.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004999/0.02896, allocations: 318.9 kB / 267.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.02899, allocations: 59.39 kB / 267.1 MB, free: 7.219 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.02941, allocations: 0.7341 MB / 267.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.02943, allocations: 37.7 kB / 267.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.02957, allocations: 290.8 kB / 268.2 MB, free: 6.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.02962, allocations: 99.14 kB / 268.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.02969, allocations: 69.88 kB / 268.3 MB, free: 5.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.02977, allocations: 325.9 kB / 268.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.02981, allocations: 36.75 kB / 268.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.02991, allocations: 148.5 kB / 268.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.03007, allocations: 216.9 kB / 269.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.03007, allocations: 4 kB / 269.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002854/0.03036, allocations: 314.6 kB / 269.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.03037, allocations: 4 kB / 269.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.0304, allocations: 8 kB / 269.4 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.03053, allocations: 54.05 kB / 269.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.0307, allocations: 83.88 kB / 269.5 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009941/0.0317, allocations: 2.38 MB / 271.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.03182, allocations: 39.72 kB / 271.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.03184, allocations: 12 kB / 271.9 MB, free: 2.074 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.0001125/0.03195, allocations: 137 kB / 272.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.03201, allocations: 71.91 kB / 272.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.03237, allocations: 305 kB / 272.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.03237, allocations: 8.016 kB / 272.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.03237, allocations: 4 kB / 272.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.03238, allocations: 0 / 272.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.03263, allocations: 306.2 kB / 272.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.03265, allocations: 4 kB / 272.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.03278, allocations: 55.89 kB / 272.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.03287, allocations: 95.23 kB / 272.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-05/0.03297, allocations: 45.61 kB / 273 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.03298, allocations: 7.984 kB / 273 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1157/0.1487, allocations: 2.362 MB / 275.3 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1487, allocations: 0 / 275.3 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.1491, allocations: 315.6 kB / 275.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.1492, allocations: 2.953 kB / 275.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1493, allocations: 12.81 kB / 275.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.1494, allocations: 27.69 kB / 275.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1494, allocations: 8.344 kB / 275.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.1497, allocations: 374.7 kB / 276 MB, free: 17.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1497, allocations: 0 / 276 MB, free: 17.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.1502, allocations: 248.3 kB / 276.3 MB, free: 17.07 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.0004933/0.1507, allocations: 390 kB / 276.7 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004442/0.1512, allocations: 431.5 kB / 277.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/0.1512, allocations: 11.62 kB / 277.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.1514, allocations: 340.6 kB / 277.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1517, allocations: 174.9 kB / 277.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.1543, allocations: 1.343 MB / 278.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.1545, allocations: 150 kB / 279.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1547, allocations: 83.58 kB / 279.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.1549, allocations: 160.2 kB / 279.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1549, allocations: 0 / 279.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Templates: time 0.01414/0.169, allocations: 9.859 MB / 289.2 MB, free: 13.48 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 -ignoreHideResult -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.8502924740314484]