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.000979/0.000979, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001264/0.001264, allocations: 167.4 kB / 25.33 MB, free: 8.594 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 0.8713/0.8713, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] 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 2.444e-06/2.444e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.666e-05, allocations: 6.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004514/0.004541, allocations: 4.818 MB / 255.9 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009007/0.01355, allocations: 9.834 MB / 265.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.01435, allocations: 39.56 kB / 265.7 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.01575, allocations: 0.6145 MB / 266.3 MB, free: 8.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.01818, allocations: 1.035 MB / 267.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.01943, allocations: 0.6094 MB / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.02106, allocations: 1.417 MB / 269.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.02128, allocations: 117.7 kB / 269.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.02184, allocations: 0.5379 MB / 270.1 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.0221, allocations: 239.2 kB / 270.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.02215, allocations: 36 kB / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.02316, allocations: 0.6439 MB / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.02326, allocations: 111.3 kB / 271.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.02344, allocations: 227.2 kB / 271.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.02453, allocations: 1.067 MB / 272.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02454, allocations: 0 / 272.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.02454, allocations: 4 kB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.02455, allocations: 0 / 272.4 MB, free: 2.074 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.001318/0.02587, allocations: 1.401 MB / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.02591, allocations: 19.92 kB / 273.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.02604, allocations: 144.2 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/0.02667, allocations: 0.722 MB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.02671, allocations: 24.03 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.02675, allocations: 24 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.02709, allocations: 246.7 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.0271, allocations: 0 / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.02713, allocations: 11.98 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.02714, allocations: 8 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.02735, allocations: 143.8 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.0286, allocations: 1.266 MB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.02889, allocations: 179.2 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.02905, allocations: 155.9 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.0309, allocations: 1.557 MB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.0311, allocations: 145 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.0311, allocations: 0 / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007333/0.03184, allocations: 448.1 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.03187, allocations: 63.39 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/0.03248, allocations: 0.8881 MB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.0325, allocations: 33.69 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.03278, allocations: 0.5193 MB / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.03284, allocations: 107.2 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.03291, allocations: 79.58 kB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.03302, allocations: 0.4925 MB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.0331, allocations: 60.78 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.03325, allocations: 206.9 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.0335, allocations: 307.4 kB / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.0335, allocations: 4 kB / 281.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004391/0.03394, allocations: 439.7 kB / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.03396, allocations: 8 kB / 282 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.03399, allocations: 32 kB / 282 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.03416, allocations: 51.78 kB / 282.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.03432, allocations: 75.89 kB / 282.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.03575, allocations: 3.515 MB / 285.7 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.03589, allocations: 43.72 kB / 285.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.03592, allocations: 24.06 kB / 285.8 MB, free: 3.992 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.0001387/0.03606, allocations: 176.4 kB / 285.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.03614, allocations: 123.3 kB / 286 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.03661, allocations: 399.3 kB / 286.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.03662, allocations: 4 kB / 286.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.03662, allocations: 4 kB / 286.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.03662, allocations: 3.984 kB / 286.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.03702, allocations: 0.5067 MB / 287 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.03705, allocations: 28 kB / 287 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.03717, allocations: 43.91 kB / 287 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.03728, allocations: 51.34 kB / 287.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.0373, allocations: 11.98 kB / 287.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.03861, allocations: 3.515 MB / 290.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.03861, allocations: 4.062 kB / 290.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.03908, allocations: 464.2 kB / 291.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.0392, allocations: 115.2 kB / 291.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.03925, allocations: 8 kB / 291.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.03935, allocations: 7.984 kB / 291.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.03943, allocations: 35.83 kB / 291.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.03944, allocations: 12 kB / 291.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003981/0.03984, allocations: 0.5345 MB / 291.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03984, allocations: 0 / 291.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004678/0.04031, allocations: 243.5 kB / 292 MB, free: 13.38 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.0004766/0.04079, allocations: 387.8 kB / 292.4 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.04134, allocations: 0.5951 MB / 293 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.04134, allocations: 0 / 293 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.04164, allocations: 0.4897 MB / 293.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.04196, allocations: 104.4 kB / 293.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.04352, allocations: 1.431 MB / 295 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.876e-05/0.04362, allocations: 153.6 kB / 295.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.04379, allocations: 85.2 kB / 295.2 MB, free: 9.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.04385, allocations: 44.44 kB / 295.3 MB, free: 9.945 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04385, allocations: 4 kB / 295.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of Templates: time 0.0138/0.05765, allocations: 10.16 MB / 305.4 MB, free: 15.81 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","",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.8587040449492633]