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.001169/0.001169, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001806/0.002976, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001108/0.001108, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002537, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8816/0.8816, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1751/1.057, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.334e-06/2.334e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.949e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006012/0.006032, allocations: 4.795 MB / 226.8 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008981/0.01501, allocations: 9.855 MB / 236.6 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.01531, allocations: 51.5 kB / 236.7 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.01625, allocations: 0.6186 MB / 237.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.01789, allocations: 1.033 MB / 238.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.01869, allocations: 0.5167 MB / 238.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.01995, allocations: 1.389 MB / 240.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.02014, allocations: 126.3 kB / 240.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.02074, allocations: 0.6784 MB / 241 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.0213, allocations: 243.2 kB / 241.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.02135, allocations: 28 kB / 241.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.02278, allocations: 0.7288 MB / 242 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.02291, allocations: 95.38 kB / 242.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.02322, allocations: 199.4 kB / 242.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.0248, allocations: 0.973 MB / 243.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.02482, allocations: 0 / 243.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02482, allocations: 0 / 243.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.02486, allocations: 0 / 243.3 MB, free: 10.61 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.001801/0.02666, allocations: 1.523 MB / 244.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.02671, allocations: 8.031 kB / 244.8 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.02691, allocations: 96.83 kB / 244.9 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.02773, allocations: 0.6015 MB / 245.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.02777, allocations: 24.77 kB / 245.5 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.02783, allocations: 32 kB / 245.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.02819, allocations: 225.5 kB / 245.8 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.02821, allocations: 0 / 245.8 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.02823, allocations: 12 kB / 245.8 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.02825, allocations: 8 kB / 245.8 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.02839, allocations: 95.11 kB / 245.9 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.0296, allocations: 0.8487 MB / 246.8 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.02993, allocations: 190.3 kB / 246.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.03006, allocations: 120.8 kB / 247.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002396/0.03246, allocations: 1.513 MB / 248.6 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.03269, allocations: 139.1 kB / 248.7 MB, free: 4.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.03269, allocations: 0 / 248.7 MB, free: 4.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005921/0.03328, allocations: 311.1 kB / 249 MB, free: 4.672 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.03333, allocations: 55.41 kB / 249.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.03381, allocations: 0.7458 MB / 249.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.03384, allocations: 29.69 kB / 249.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.03401, allocations: 286.8 kB / 250.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.03408, allocations: 99.14 kB / 250.2 MB, free: 3.426 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.03416, allocations: 69.95 kB / 250.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.03426, allocations: 321.9 kB / 250.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.03431, allocations: 36.81 kB / 250.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.03442, allocations: 148.4 kB / 250.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.03465, allocations: 240.9 kB / 251 MB, free: 2.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.03465, allocations: 3.938 kB / 251 MB, free: 2.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003899/0.03504, allocations: 295.1 kB / 251.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.03506, allocations: 12.06 kB / 251.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.03509, allocations: 4 kB / 251.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.03527, allocations: 49.62 kB / 251.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.03547, allocations: 87.88 kB / 251.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.0369, allocations: 2.364 MB / 253.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.03707, allocations: 39.91 kB / 253.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.0371, allocations: 12 kB / 253.9 MB, free: 15.47 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.0001415/0.03724, allocations: 133.7 kB / 254 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.0373, allocations: 79.97 kB / 254.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.03769, allocations: 301.7 kB / 254.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.03769, allocations: 0 / 254.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.03769, allocations: 4 kB / 254.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.0377, allocations: 3.984 kB / 254.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.03799, allocations: 314.2 kB / 254.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.03802, allocations: 11.94 kB / 254.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.03816, allocations: 43.95 kB / 254.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.03827, allocations: 95.22 kB / 254.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/0.03838, allocations: 45.61 kB / 254.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.0384, allocations: 11.98 kB / 254.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.03951, allocations: 2.357 MB / 257.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.03951, allocations: 7.875 kB / 257.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.03987, allocations: 315.2 kB / 257.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.03992, allocations: 4 kB / 257.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.04002, allocations: 20.08 kB / 257.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.04009, allocations: 23.95 kB / 257.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.0401, allocations: 8 kB / 257.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002586/0.04036, allocations: 369.7 kB / 258 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.04036, allocations: 0 / 258 MB, free: 11.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005249/0.04089, allocations: 255.3 kB / 258.2 MB, free: 10.86 MB / 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.0005348/0.04142, allocations: 393.6 kB / 258.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.04192, allocations: 440.4 kB / 259.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/0.04194, allocations: 12 kB / 259.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.04221, allocations: 348.2 kB / 259.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.04286, allocations: 0.844 MB / 260.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.04554, allocations: 1.355 MB / 261.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.04564, allocations: 165.3 kB / 261.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.04581, allocations: 73.22 kB / 261.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.046, allocations: 155.3 kB / 262 MB, free: 6.832 MB / 266.7 MB Notification: Performance of SimCode: time 1.413e-06/0.046, allocations: 0 / 262 MB, free: 6.832 MB / 266.7 MB Notification: Performance of Templates: time 0.01598/0.06199, allocations: 9.816 MB / 271.8 MB, free: 13.04 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=240 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8228568164631724]