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.001637/0.001637, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.001644/0.001644, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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.46/1.46, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 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=999,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=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 51.92 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3101, allocations: 49.17 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006265/0.3164, allocations: 4.426 MB / 401.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3275, allocations: 8.991 MB / 410.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3285, allocations: 41.31 kB / 410.3 MB, free: 196 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.3305, allocations: 0.6043 MB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.3349, allocations: 1.01 MB / 411.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.3372, allocations: 0.598 MB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.3403, allocations: 1.36 MB / 413.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.3405, allocations: 113.2 kB / 414 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.341, allocations: 282.5 kB / 414.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.3414, allocations: 294.5 kB / 414.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.3415, allocations: 32.88 kB / 414.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.3434, allocations: 0.6326 MB / 415.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3435, allocations: 119.1 kB / 415.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3438, allocations: 299.1 kB / 415.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.3457, allocations: 1.287 MB / 416.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3457, allocations: 4.938 kB / 416.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3457, allocations: 0 / 416.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3457, allocations: 3.938 kB / 416.9 MB, free: 12.52 MB / 334.1 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.00229/0.348, allocations: 1.28 MB / 418.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3481, allocations: 13.48 kB / 418.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3482, allocations: 121.6 kB / 418.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.3496, allocations: 0.6815 MB / 419 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.3496, allocations: 22.27 kB / 419 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.3497, allocations: 26 kB / 419.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007857/0.3505, allocations: 322.7 kB / 419.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3505, allocations: 0 / 419.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.3505, allocations: 10.53 kB / 419.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.3506, allocations: 10.56 kB / 419.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.3513, allocations: 284.2 kB / 419.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.3536, allocations: 1.208 MB / 420.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/0.3543, allocations: 281.7 kB / 421.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.3548, allocations: 208.8 kB / 421.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003815/0.3586, allocations: 1.436 MB / 422.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.3591, allocations: 193.4 kB / 423 MB, free: 8.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.264e-06/0.3591, allocations: 0 / 423 MB, free: 8.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00171/0.3608, allocations: 0.5825 MB / 423.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3608, allocations: 55.31 kB / 423.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3619, allocations: 0.811 MB / 424.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3619, allocations: 29.7 kB / 424.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.3623, allocations: 448.7 kB / 424.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/0.3624, allocations: 107.1 kB / 425 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.3625, allocations: 70.02 kB / 425.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3627, allocations: 325.9 kB / 425.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.363, allocations: 112.7 kB / 425.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.3634, allocations: 224 kB / 425.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.3641, allocations: 360.9 kB / 426.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3641, allocations: 0 / 426.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001118/0.3652, allocations: 0.5219 MB / 426.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3653, allocations: 7.938 kB / 426.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.02e-05/0.3653, allocations: 40 kB / 426.6 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.3656, allocations: 53.69 kB / 426.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.366, allocations: 75.88 kB / 426.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.3683, allocations: 2.587 MB / 429.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.3688, allocations: 43.75 kB / 429.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.3688, allocations: 16 kB / 429.4 MB, free: 1.973 MB / 334.1 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.0003329/0.3691, allocations: 205.7 kB / 429.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3693, allocations: 115.2 kB / 429.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.3705, allocations: 0.4977 MB / 430.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3705, allocations: 0 / 430.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3705, allocations: 8 kB / 430.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3705, allocations: 3.984 kB / 430.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.3711, allocations: 458.5 kB / 430.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.257e-05/0.3712, allocations: 32 kB / 430.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.3714, allocations: 43.89 kB / 430.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.3716, allocations: 45.69 kB / 430.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.3716, allocations: 12 kB / 430.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.374, allocations: 2.595 MB / 433.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.374, allocations: 3.938 kB / 433.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.3753, allocations: 0.6042 MB / 434 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.3756, allocations: 103.5 kB / 434.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.3757, allocations: 12 kB / 434.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.376, allocations: 19.97 kB / 434.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.3761, allocations: 31.88 kB / 434.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.3761, allocations: 12 kB / 434.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007566/0.3769, allocations: 0.5346 MB / 434.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3769, allocations: 4 kB / 434.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008535/0.3777, allocations: 247.4 kB / 435 MB, free: 12.11 MB / 350.1 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.0007088/0.3784, allocations: 361.1 kB / 435.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3797, allocations: 0.5583 MB / 435.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3797, allocations: 3.938 kB / 435.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.3804, allocations: 419 kB / 436.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.381, allocations: 100.5 kB / 436.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.3838, allocations: 1.546 MB / 437.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3842, allocations: 365.3 kB / 438.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.3844, allocations: 89.14 kB / 438.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.3845, allocations: 43.44 kB / 438.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3845, allocations: 0 / 438.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of Templates: time 0.02024/0.4047, allocations: 9.476 MB / 447.9 MB, free: 15.02 MB / 366.1 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: 5.019359827041626]