Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 68.77 kB / 379 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2725, allocations: 53.38 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006584/0.2791, allocations: 5.109 MB / 437.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2918, allocations: 10.86 MB / 448.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.2925, allocations: 43.56 kB / 448.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2943, allocations: 0.6959 MB / 449.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.2971, allocations: 1.034 MB / 450.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2986, allocations: 0.6059 MB / 450.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.3009, allocations: 1.398 MB / 452.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.3011, allocations: 109.8 kB / 452.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.3015, allocations: 298.6 kB / 452.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.3019, allocations: 317.9 kB / 452.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.302, allocations: 36 kB / 452.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3035, allocations: 0.7531 MB / 453.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3036, allocations: 115.2 kB / 453.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.304, allocations: 397.5 kB / 454.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.3056, allocations: 1.276 MB / 455.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3056, allocations: 3.938 kB / 455.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3057, allocations: 0 / 455.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3057, allocations: 0 / 455.4 MB, free: 15.85 MB / 366.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.001975/0.3076, allocations: 1.286 MB / 456.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3077, allocations: 8.031 kB / 456.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.3078, allocations: 124.2 kB / 456.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.309, allocations: 0.6723 MB / 457.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.309, allocations: 28.58 kB / 457.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.3091, allocations: 24 kB / 457.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.3097, allocations: 322 kB / 457.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3097, allocations: 4 kB / 457.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.3098, allocations: 12 kB / 457.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3098, allocations: 4 kB / 457.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.3104, allocations: 278.5 kB / 458.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3124, allocations: 1.326 MB / 459.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.3131, allocations: 283.9 kB / 459.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.3136, allocations: 216.8 kB / 460 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002798/0.3164, allocations: 1.342 MB / 461.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/0.3168, allocations: 207.3 kB / 461.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.3168, allocations: 0 / 461.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001418/0.3182, allocations: 0.5652 MB / 462.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3183, allocations: 59.39 kB / 462.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.3192, allocations: 0.8111 MB / 463 MB, free: 8.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3193, allocations: 33.7 kB / 463 MB, free: 8.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.3196, allocations: 444.9 kB / 463.4 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.3197, allocations: 103.1 kB / 463.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3199, allocations: 81.97 kB / 463.6 MB, free: 7.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.32, allocations: 325.9 kB / 463.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.3203, allocations: 112.7 kB / 464 MB, free: 6.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.3207, allocations: 222.5 kB / 464.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.3223, allocations: 0.7126 MB / 465 MB, free: 5.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3223, allocations: 0 / 465 MB, free: 5.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001006/0.3233, allocations: 0.514 MB / 465.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3233, allocations: 4 kB / 465.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-05/0.3234, allocations: 36 kB / 465.5 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.3235, allocations: 36.78 kB / 465.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.3239, allocations: 88.2 kB / 465.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.3251, allocations: 1.346 MB / 467 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.3255, allocations: 51.7 kB / 467 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.3255, allocations: 20 kB / 467.1 MB, free: 3.723 MB / 366.1 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.0003486/0.3259, allocations: 197.7 kB / 467.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.326, allocations: 115.4 kB / 467.4 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3271, allocations: 496.3 kB / 467.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3271, allocations: 4 kB / 467.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3271, allocations: 0 / 467.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3271, allocations: 3.984 kB / 467.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.328, allocations: 0.553 MB / 468.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.793e-05/0.328, allocations: 36 kB / 468.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.3284, allocations: 59.89 kB / 468.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.3285, allocations: 24.84 kB / 468.5 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.3285, allocations: 19.98 kB / 468.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.3298, allocations: 1.334 MB / 469.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3298, allocations: 0 / 469.9 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3311, allocations: 0.6151 MB / 470.5 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.3313, allocations: 111.4 kB / 470.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.3314, allocations: 8 kB / 470.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3316, allocations: 19.97 kB / 470.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.3317, allocations: 31.89 kB / 470.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3318, allocations: 8 kB / 470.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007717/0.3325, allocations: 0.5426 MB / 471.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3325, allocations: 0 / 471.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007331/0.3333, allocations: 247.4 kB / 471.5 MB, free: 15.11 MB / 382.1 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.0006672/0.3339, allocations: 361.7 kB / 471.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3349, allocations: 469.2 kB / 472.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3349, allocations: 0 / 472.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.3355, allocations: 309.1 kB / 472.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.336, allocations: 116.4 kB / 472.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.3393, allocations: 1.695 MB / 474.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.3399, allocations: 0.9528 MB / 475.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002526/0.3402, allocations: 85.19 kB / 475.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.3403, allocations: 51.44 kB / 475.5 MB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3403, allocations: 3.938 kB / 475.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01801/0.3583, allocations: 8.542 MB / 484 MB, free: 2.492 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.959637923166156]