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.001017/0.001017, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002519, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006476/0.0006476, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009792/0.001627, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 0.823/0.823, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1452/0.9681, allocations: 52.49 MB / 238.5 MB, free: 7.602 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.373e-06/1.373e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.207e-05, allocations: 2.312 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003451/0.003463, allocations: 4.865 MB / 244.6 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006962/0.01042, allocations: 10.19 MB / 254.8 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.0107, allocations: 43.5 kB / 254.8 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.01163, allocations: 0.6342 MB / 255.5 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.01296, allocations: 1.041 MB / 256.5 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.01366, allocations: 0.5168 MB / 257 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.01479, allocations: 1.417 MB / 258.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.01494, allocations: 118.4 kB / 258.6 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005382/0.01548, allocations: 0.7018 MB / 259.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.01571, allocations: 247.2 kB / 259.5 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.01575, allocations: 28 kB / 259.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008437/0.0166, allocations: 0.7599 MB / 260.3 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.01666, allocations: 91.31 kB / 260.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.01679, allocations: 199.4 kB / 260.6 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.01758, allocations: 0.9653 MB / 261.5 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.01759, allocations: 4 kB / 261.5 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01759, allocations: 0 / 261.5 MB, free: 460 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.0176, allocations: 0 / 261.5 MB, free: 460 kB / 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.001124/0.01873, allocations: 1.527 MB / 263.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.01875, allocations: 12.03 kB / 263.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.01884, allocations: 92.83 kB / 263.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.01937, allocations: 0.6093 MB / 263.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.01938, allocations: 21.03 kB / 263.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.01942, allocations: 24.38 kB / 263.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.01967, allocations: 233.4 kB / 264.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01968, allocations: 4 kB / 264.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.01969, allocations: 8 kB / 264.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.0197, allocations: 12 kB / 264.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.01982, allocations: 99.11 kB / 264.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/0.02066, allocations: 0.8526 MB / 265 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.02085, allocations: 194.3 kB / 265.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.02099, allocations: 112.8 kB / 265.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.02279, allocations: 1.513 MB / 266.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.02294, allocations: 131.7 kB / 267 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.242e-06/0.02294, allocations: 0 / 267 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004749/0.02341, allocations: 317 kB / 267.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.02344, allocations: 55.41 kB / 267.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.02394, allocations: 0.7419 MB / 268.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.02396, allocations: 29.7 kB / 268.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.02408, allocations: 290.8 kB / 268.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.02413, allocations: 99.14 kB / 268.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.0242, allocations: 69.97 kB / 268.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.02426, allocations: 321.9 kB / 268.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.0243, allocations: 32.81 kB / 268.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.02439, allocations: 152.4 kB / 269.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.02455, allocations: 225.4 kB / 269.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02456, allocations: 4 kB / 269.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002787/0.02483, allocations: 313.7 kB / 269.6 MB, free: 8.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.02485, allocations: 4 kB / 269.6 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.02487, allocations: 8 kB / 269.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.025, allocations: 42.09 kB / 269.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.02518, allocations: 99.75 kB / 269.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.02638, allocations: 2.36 MB / 272.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.0265, allocations: 39.72 kB / 272.1 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.02652, allocations: 24.06 kB / 272.2 MB, free: 5.285 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.0001073/0.02663, allocations: 137.6 kB / 272.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.02668, allocations: 71.91 kB / 272.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.02702, allocations: 301.1 kB / 272.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.02703, allocations: 7.984 kB / 272.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02703, allocations: 0 / 272.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.02703, allocations: 0 / 272.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.02726, allocations: 310.2 kB / 273 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.02728, allocations: 4 kB / 273 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.0274, allocations: 47.89 kB / 273 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.02749, allocations: 95.23 kB / 273.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.642e-05/0.02758, allocations: 61.59 kB / 273.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.02759, allocations: 4 kB / 273.2 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008316/0.02842, allocations: 2.353 MB / 275.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.02842, allocations: 0 / 275.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.0287, allocations: 323.9 kB / 275.8 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.02874, allocations: 4 kB / 275.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.02884, allocations: 11.98 kB / 275.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.02889, allocations: 23.95 kB / 275.9 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.0289, allocations: 8 kB / 275.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.02911, allocations: 365.7 kB / 276.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02911, allocations: 0 / 276.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.02942, allocations: 259.3 kB / 276.5 MB, free: 0.6875 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.0003847/0.0298, allocations: 401.7 kB / 276.9 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.03016, allocations: 428.2 kB / 277.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.03018, allocations: 13.31 kB / 277.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.03038, allocations: 343.7 kB / 277.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.03105, allocations: 0.8593 MB / 278.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.03323, allocations: 1.343 MB / 279.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.347e-05/0.0333, allocations: 149.7 kB / 280 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.03344, allocations: 89.19 kB / 280.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.0336, allocations: 151.3 kB / 280.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0336, allocations: 0 / 280.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of Templates: time 0.0115/0.0451, allocations: 9.836 MB / 290.1 MB, free: 2.918 MB / 282.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5817774310708046]