Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001491/0.001491, allocations: 81.97 kB / 22.21 MB, free: 2.297 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.001511/0.001511, allocations: 164.5 kB / 25.61 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8861/0.8861, allocations: 177.1 MB / 206.1 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.482e-05, allocations: 6.094 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004239/0.004254, allocations: 4.792 MB / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008142/0.0124, allocations: 10 MB / 289 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.01282, allocations: 43.5 kB / 289 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.01398, allocations: 0.6182 MB / 289.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.01598, allocations: 1.059 MB / 290.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.01711, allocations: 0.6095 MB / 291.3 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.01866, allocations: 1.468 MB / 292.8 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.01886, allocations: 117.7 kB / 292.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.01939, allocations: 0.5691 MB / 293.5 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.01966, allocations: 243.1 kB / 293.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.0197, allocations: 32 kB / 293.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008964/0.0206, allocations: 0.6712 MB / 294.4 MB, free: 152 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.02068, allocations: 111.3 kB / 294.5 MB, free: 40 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.02086, allocations: 227.2 kB / 294.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009572/0.02182, allocations: 1.082 MB / 295.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.02182, allocations: 0 / 295.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.02182, allocations: 0 / 295.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.02183, allocations: 0 / 295.8 MB, free: 14.73 MB / 282.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.001421/0.02325, allocations: 1.417 MB / 297.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.02328, allocations: 12.03 kB / 297.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.02339, allocations: 140.2 kB / 297.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.02396, allocations: 0.7212 MB / 298.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.02398, allocations: 21.03 kB / 298.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.02402, allocations: 28.36 kB / 298.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.02429, allocations: 226.7 kB / 298.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.0243, allocations: 3.938 kB / 298.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.02432, allocations: 12 kB / 298.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.02433, allocations: 8 kB / 298.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.02448, allocations: 119.1 kB / 298.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.02547, allocations: 1.109 MB / 299.6 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.02567, allocations: 159.2 kB / 299.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.0258, allocations: 147.8 kB / 299.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.02727, allocations: 1.417 MB / 301.3 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.02743, allocations: 136.9 kB / 301.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.02743, allocations: 4 kB / 301.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005459/0.02797, allocations: 404.3 kB / 301.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.028, allocations: 55.41 kB / 301.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.02852, allocations: 0.8792 MB / 302.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.02854, allocations: 33.7 kB / 302.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.02883, allocations: 0.523 MB / 303.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.02889, allocations: 111.1 kB / 303.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.02896, allocations: 79.61 kB / 303.5 MB, free: 6.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004132/0.02938, allocations: 0.5003 MB / 304 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.02944, allocations: 44.8 kB / 304.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.02956, allocations: 183.7 kB / 304.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.02982, allocations: 330.3 kB / 304.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02982, allocations: 4 kB / 304.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003549/0.03017, allocations: 389.5 kB / 305 MB, free: 5.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.03019, allocations: 11.98 kB / 305 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.03022, allocations: 36.38 kB / 305 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.501e-05/0.03032, allocations: 31.67 kB / 305.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.0305, allocations: 83.83 kB / 305.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.03122, allocations: 1.756 MB / 306.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.03135, allocations: 35.73 kB / 306.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.03138, allocations: 20.03 kB / 306.9 MB, free: 3.066 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.03153, allocations: 176.5 kB / 307.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.03161, allocations: 119.3 kB / 307.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.03202, allocations: 376.2 kB / 307.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.03202, allocations: 0 / 307.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.03203, allocations: 0 / 307.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.03203, allocations: 7.984 kB / 307.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.03233, allocations: 386 kB / 308 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/0.03237, allocations: 36 kB / 308 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.03252, allocations: 63.78 kB / 308.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.997e-05/0.03259, allocations: 23.67 kB / 308.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.03261, allocations: 19.98 kB / 308.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/0.03324, allocations: 1.741 MB / 309.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.03324, allocations: 0 / 309.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.03362, allocations: 431.1 kB / 310.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.03373, allocations: 111.2 kB / 310.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.03378, allocations: 7.984 kB / 310.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.03388, allocations: 16.03 kB / 310.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.03393, allocations: 23.95 kB / 310.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.03395, allocations: 8 kB / 310.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.03424, allocations: 0.5029 MB / 311 MB, free: 14.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03424, allocations: 0 / 311 MB, free: 14.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000646/0.03489, allocations: 251.3 kB / 311.2 MB, free: 14.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000451/0.03534, allocations: 404.5 kB / 311.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.03572, allocations: 416.5 kB / 312 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.03572, allocations: 4.188 kB / 312 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.03592, allocations: 327.1 kB / 312.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.03627, allocations: 128.2 kB / 312.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.03781, allocations: 1.532 MB / 314 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.75e-05/0.03789, allocations: 158.1 kB / 314.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.03804, allocations: 85.19 kB / 314.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.03823, allocations: 198.1 kB / 314.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03823, allocations: 3.938 kB / 314.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of Templates: time 0.01282/0.05105, allocations: 9.661 MB / 324.1 MB, free: 1.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9570766459219158]