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.002017/0.002017, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00229/0.00229, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.509/1.509, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.523e-06/1.523e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.688e-05, allocations: 6.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006901/0.006928, allocations: 4.487 MB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.0221, allocations: 9.322 MB / 286.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009041/0.023, allocations: 39.56 kB / 286.2 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.02524, allocations: 0.6298 MB / 286.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.02896, allocations: 1.051 MB / 287.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.03099, allocations: 0.6211 MB / 288.5 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.03365, allocations: 1.432 MB / 289.9 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.03399, allocations: 113.7 kB / 290 MB, free: 48 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1279/0.1619, allocations: 412.8 kB / 290.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.1624, allocations: 220.2 kB / 290.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.914e-05/0.1625, allocations: 32.47 kB / 290.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.1649, allocations: 0.6716 MB / 291.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.165, allocations: 108 kB / 291.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.1654, allocations: 219.6 kB / 291.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.1679, allocations: 1.337 MB / 293 MB, free: 15.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1679, allocations: 0.8125 kB / 293 MB, free: 15.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1679, allocations: 1.406 kB / 293 MB, free: 15.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1679, allocations: 0 / 293 MB, free: 15.94 MB / 266.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.002884/0.1708, allocations: 1.271 MB / 294.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1709, allocations: 12.44 kB / 294.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.1712, allocations: 143.9 kB / 294.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.1729, allocations: 0.7448 MB / 295.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.1729, allocations: 20.33 kB / 295.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.173, allocations: 29.34 kB / 295.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.174, allocations: 318 kB / 295.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.174, allocations: 7.891 kB / 295.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.174, allocations: 9.25 kB / 295.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.174, allocations: 7.141 kB / 295.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.175, allocations: 279 kB / 295.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.1777, allocations: 1.207 MB / 297 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.1786, allocations: 274 kB / 297.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.1792, allocations: 211.9 kB / 297.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003854/0.183, allocations: 1.393 MB / 298.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005633/0.1836, allocations: 200.6 kB / 299.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.1836, allocations: 0 / 299.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001945/0.1855, allocations: 0.5709 MB / 299.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.1856, allocations: 58.88 kB / 299.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.1867, allocations: 0.7997 MB / 300.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1867, allocations: 31.08 kB / 300.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.1871, allocations: 441.8 kB / 301 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.1872, allocations: 116.8 kB / 301.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1873, allocations: 73.41 kB / 301.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.1874, allocations: 320.4 kB / 301.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.1877, allocations: 130.3 kB / 301.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.1882, allocations: 213 kB / 301.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.1903, allocations: 0.7122 MB / 302.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1903, allocations: 1.188 kB / 302.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001266/0.1915, allocations: 0.5354 MB / 303.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1916, allocations: 7.344 kB / 303.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.532e-05/0.1916, allocations: 38.5 kB / 303.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.1918, allocations: 35.84 kB / 303.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.1923, allocations: 83.53 kB / 303.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000981/0.1933, allocations: 1.327 MB / 304.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.1938, allocations: 48.34 kB / 304.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.1939, allocations: 18.34 kB / 304.6 MB, free: 10.53 MB / 266.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.0003487/0.1942, allocations: 200.4 kB / 304.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.1944, allocations: 116.8 kB / 304.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.1958, allocations: 495.9 kB / 305.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1958, allocations: 3.125 kB / 305.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1958, allocations: 1.547 kB / 305.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1958, allocations: 3.141 kB / 305.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.1965, allocations: 463.9 kB / 305.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.632e-05/0.1966, allocations: 42.31 kB / 305.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.197, allocations: 57.11 kB / 306 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.1971, allocations: 32.08 kB / 306 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.1972, allocations: 11.83 kB / 306 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008533/0.198, allocations: 1.323 MB / 307.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.198, allocations: 1.547 kB / 307.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.1995, allocations: 0.6179 MB / 307.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.1998, allocations: 109.4 kB / 308.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.1999, allocations: 7.422 kB / 308.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.2003, allocations: 20.55 kB / 308.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2004, allocations: 27.44 kB / 308.1 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.2004, allocations: 11.53 kB / 308.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007537/0.2012, allocations: 0.5373 MB / 308.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2012, allocations: 0 / 308.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009892/0.2022, allocations: 251.5 kB / 308.9 MB, free: 7.859 MB / 266.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.0007021/0.2029, allocations: 394.4 kB / 309.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.204, allocations: 467.4 kB / 309.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.204, allocations: 0 / 309.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.2045, allocations: 319.7 kB / 310.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.2054, allocations: 116.7 kB / 310.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.2086, allocations: 1.624 MB / 311.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.209, allocations: 366.2 kB / 312.2 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.2093, allocations: 83.27 kB / 312.2 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2094, allocations: 54.39 kB / 312.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2094, allocations: 0 / 312.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of Templates: time 0.02149/0.2309, allocations: 8.275 MB / 320.6 MB, free: 14.2 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.7161378329619765]