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.002057/0.002057, allocations: 96.3 kB / 21.73 MB, free: 2.695 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.00232/0.00232, allocations: 165.3 kB / 25.02 MB, free: 8.945 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.437/1.437, allocations: 158.6 MB / 186.8 MB, free: 2.914 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 2.174e-06/2.174e-06, allocations: 0 / 250.3 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.932e-05/4.15e-05, allocations: 9.766 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.01148/0.01152, allocations: 4.429 MB / 254.8 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.03291, allocations: 9.003 MB / 263.8 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.0336, allocations: 43.56 kB / 263.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.03533, allocations: 0.6064 MB / 264.4 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.03824, allocations: 1.05 MB / 265.5 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.03978, allocations: 0.6055 MB / 266.1 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.04202, allocations: 1.389 MB / 267.5 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.04227, allocations: 109.8 kB / 267.6 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.04279, allocations: 406.9 kB / 268 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.04312, allocations: 219.2 kB / 268.2 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.04318, allocations: 32 kB / 268.2 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.04452, allocations: 0.64 MB / 268.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003516/0.04487, allocations: 107.3 kB / 269 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.04516, allocations: 223.3 kB / 269.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.04698, allocations: 1.335 MB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.04699, allocations: 0 / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.04699, allocations: 0 / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.047, allocations: 0 / 270.5 MB, free: 3.543 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.00201/0.04901, allocations: 1.274 MB / 271.8 MB, free: 2.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.04905, allocations: 15.98 kB / 271.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.04928, allocations: 140.2 kB / 272 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.05061, allocations: 0.7418 MB / 272.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.05065, allocations: 24.78 kB / 272.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.05072, allocations: 24 kB / 272.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.05141, allocations: 325.9 kB / 273.1 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.05142, allocations: 0 / 273.1 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.05146, allocations: 12 kB / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.05147, allocations: 8 kB / 273.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.05211, allocations: 278.5 kB / 273.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.05409, allocations: 1.208 MB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.0548, allocations: 274.5 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.05523, allocations: 220.7 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003723/0.05896, allocations: 1.518 MB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.05941, allocations: 191.3 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.05941, allocations: 0 / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001617/0.06102, allocations: 0.5765 MB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.06108, allocations: 63.39 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.06209, allocations: 0.8029 MB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.06213, allocations: 33.7 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.06255, allocations: 452.6 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.06265, allocations: 99.11 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.06277, allocations: 77.97 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.06294, allocations: 325.9 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.06324, allocations: 116.8 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.06362, allocations: 220.5 kB / 279.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.06432, allocations: 364.9 kB / 279.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.06433, allocations: 4 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001054/0.06538, allocations: 0.5334 MB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.0654, allocations: 4 kB / 280.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-05/0.06545, allocations: 36 kB / 280.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.0657, allocations: 57.62 kB / 280.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.06601, allocations: 79.88 kB / 280.6 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.0686, allocations: 2.595 MB / 283.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.0689, allocations: 47.7 kB / 283.2 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.06894, allocations: 16 kB / 283.2 MB, free: 6.262 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.0002876/0.06923, allocations: 201.9 kB / 283.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.06937, allocations: 115.3 kB / 283.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.07051, allocations: 0.4937 MB / 284 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.07051, allocations: 4 kB / 284 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.07052, allocations: 7.922 kB / 284 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.07052, allocations: 0 / 284 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.07112, allocations: 462.4 kB / 284.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.07116, allocations: 28 kB / 284.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.07141, allocations: 47.89 kB / 284.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.07159, allocations: 57.69 kB / 284.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.07161, allocations: 8 kB / 284.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.07389, allocations: 2.595 MB / 287.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.07389, allocations: 4.125 kB / 287.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.07516, allocations: 0.6118 MB / 287.8 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.07536, allocations: 107.2 kB / 287.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.07543, allocations: 8 kB / 287.9 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.07566, allocations: 20.05 kB / 288 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.07575, allocations: 23.95 kB / 288 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.07577, allocations: 12 kB / 288 MB, free: 1.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006855/0.07646, allocations: 0.5385 MB / 288.5 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07646, allocations: 4 kB / 288.5 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006471/0.0771, allocations: 243.4 kB / 288.8 MB, free: 408 kB / 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.0006371/0.07774, allocations: 399.8 kB / 289.2 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.07885, allocations: 0.5608 MB / 289.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.07885, allocations: 0 / 289.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.0795, allocations: 427.4 kB / 290.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.08017, allocations: 112.3 kB / 290.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.08261, allocations: 1.508 MB / 291.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.08299, allocations: 357.3 kB / 292.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.08322, allocations: 85.2 kB / 292.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.08332, allocations: 44.5 kB / 292.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of SimCode: time 4.2e-07/0.08332, allocations: 0 / 292.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Templates: time 0.01725/0.1006, allocations: 8.434 MB / 300.7 MB, free: 4.395 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] 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.699491381994449]