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.002595/0.002595, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002698/0.002698, allocations: 161.9 kB / 25.03 MB, free: 8.926 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 1.389/1.389, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.978e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006965/0.006995, allocations: 4.772 MB / 255.1 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.02103, allocations: 9.81 MB / 264.9 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.0218, allocations: 39.56 kB / 265 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.0237, allocations: 0.6064 MB / 265.6 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.02678, allocations: 1.047 MB / 266.6 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.02863, allocations: 0.6055 MB / 267.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.03135, allocations: 1.401 MB / 268.6 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.03162, allocations: 109.8 kB / 268.8 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.0322, allocations: 402.9 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.03262, allocations: 223.2 kB / 269.4 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.03269, allocations: 32 kB / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.03415, allocations: 0.64 MB / 270 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.03428, allocations: 111.3 kB / 270.1 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.03459, allocations: 215.3 kB / 270.4 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.03656, allocations: 1.339 MB / 271.7 MB, free: 2.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.03656, allocations: 8 kB / 271.7 MB, free: 2.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03657, allocations: 0 / 271.7 MB, free: 2.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.03658, allocations: 4 kB / 271.7 MB, free: 2.379 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.002308/0.03889, allocations: 1.432 MB / 273.1 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.03893, allocations: 11.98 kB / 273.1 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.03915, allocations: 144.2 kB / 273.3 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.04038, allocations: 0.7524 MB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.04042, allocations: 20.78 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.04048, allocations: 28 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.04111, allocations: 282 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.04112, allocations: 7.938 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.04116, allocations: 12 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.04117, allocations: 11.98 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.04177, allocations: 230.5 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.04422, allocations: 1.409 MB / 276 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.04486, allocations: 247 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.04526, allocations: 191.5 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003967/0.04922, allocations: 1.612 MB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.04965, allocations: 184.9 kB / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.275e-06/0.04966, allocations: 0 / 278.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001597/0.05125, allocations: 0.5548 MB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.05132, allocations: 59.41 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.05271, allocations: 1.076 MB / 279.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.05275, allocations: 33.7 kB / 280 MB, free: 9.832 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.05337, allocations: 0.5544 MB / 280.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.0535, allocations: 103.2 kB / 280.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.05366, allocations: 87.58 kB / 280.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/0.05395, allocations: 0.5081 MB / 281.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.05421, allocations: 100.8 kB / 281.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.05463, allocations: 254.9 kB / 281.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/0.05535, allocations: 411.4 kB / 282 MB, free: 7.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.05536, allocations: 0 / 282 MB, free: 7.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001081/0.05644, allocations: 0.5273 MB / 282.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.05646, allocations: 8 kB / 282.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/0.05652, allocations: 35.98 kB / 282.5 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.05682, allocations: 67.28 kB / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.05713, allocations: 71.89 kB / 282.7 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.06035, allocations: 3.64 MB / 286.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.06068, allocations: 39.73 kB / 286.4 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.06073, allocations: 16 kB / 286.4 MB, free: 3.008 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.0003886/0.06112, allocations: 259.4 kB / 286.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.06127, allocations: 111.3 kB / 286.7 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.06237, allocations: 487.2 kB / 287.2 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.06238, allocations: 8 kB / 287.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.06238, allocations: 3.938 kB / 287.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.06239, allocations: 0 / 287.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008395/0.06323, allocations: 0.6004 MB / 287.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.386e-05/0.06328, allocations: 32 kB / 287.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.06354, allocations: 43.84 kB / 287.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.06374, allocations: 63.33 kB / 288 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.06376, allocations: 8 kB / 288 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.06681, allocations: 3.64 MB / 291.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.06681, allocations: 0 / 291.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.06814, allocations: 0.5938 MB / 292.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.06841, allocations: 115.2 kB / 292.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.06849, allocations: 4 kB / 292.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.0687, allocations: 8 kB / 292.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.06881, allocations: 31.95 kB / 292.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.06884, allocations: 11.98 kB / 292.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009084/0.06975, allocations: 0.6439 MB / 293 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06975, allocations: 0 / 293 MB, free: 12.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007491/0.0705, allocations: 251.4 kB / 293.3 MB, free: 11.77 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.0007213/0.07122, allocations: 395.8 kB / 293.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.07243, allocations: 0.6887 MB / 294.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.07243, allocations: 0 / 294.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.07326, allocations: 0.5288 MB / 294.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.07388, allocations: 120.4 kB / 295 MB, free: 9.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.0768, allocations: 1.497 MB / 296.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.07725, allocations: 365.3 kB / 296.8 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.07751, allocations: 77.22 kB / 296.9 MB, free: 7.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.07762, allocations: 44.5 kB / 297 MB, free: 7.902 MB / 282.7 MB Notification: Performance of SimCode: time 1.442e-06/0.07762, allocations: 7.938 kB / 297 MB, free: 7.895 MB / 282.7 MB Notification: Performance of Templates: time 0.01981/0.09743, allocations: 8.451 MB / 305.4 MB, free: 15.47 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.78249629389029]