Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 187.5 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 51.94 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2478, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006108/0.2539, allocations: 4.474 MB / 427.5 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.2658, allocations: 9.279 MB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005347/0.2664, allocations: 43.5 kB / 436.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.2679, allocations: 0.6166 MB / 437.5 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.2703, allocations: 1.02 MB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.2716, allocations: 0.6018 MB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.2735, allocations: 1.386 MB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.2737, allocations: 109.8 kB / 440.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.274, allocations: 298.6 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.2744, allocations: 305.8 kB / 441.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/0.2745, allocations: 32 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.2757, allocations: 0.6596 MB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2758, allocations: 107.3 kB / 442 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.2761, allocations: 302 kB / 442.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.2778, allocations: 1.288 MB / 443.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2778, allocations: 0 / 443.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2778, allocations: 3.938 kB / 443.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2778, allocations: 0 / 443.6 MB, free: 9.875 MB / 350.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.002046/0.2798, allocations: 1.286 MB / 444.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2799, allocations: 12.03 kB / 444.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.28, allocations: 124.2 kB / 445 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.2812, allocations: 0.684 MB / 445.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2812, allocations: 20.59 kB / 445.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.2813, allocations: 28 kB / 445.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.2819, allocations: 321.9 kB / 446 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2819, allocations: 0 / 446 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.282, allocations: 12 kB / 446 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.282, allocations: 11.98 kB / 446.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.2826, allocations: 274.5 kB / 446.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2846, allocations: 1.206 MB / 447.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.2853, allocations: 270.5 kB / 447.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.2857, allocations: 216.8 kB / 448 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003357/0.2891, allocations: 1.435 MB / 449.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.2895, allocations: 199.2 kB / 449.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.2895, allocations: 0 / 449.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001578/0.2911, allocations: 0.5765 MB / 450.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.2912, allocations: 59.41 kB / 450.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.2921, allocations: 0.8068 MB / 451.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2922, allocations: 29.7 kB / 451.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.2926, allocations: 456.7 kB / 451.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/0.2927, allocations: 99.17 kB / 451.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.2928, allocations: 73.98 kB / 451.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.293, allocations: 329.9 kB / 452 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.2933, allocations: 116.7 kB / 452.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.2938, allocations: 228 kB / 452.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.2945, allocations: 356.9 kB / 452.7 MB, free: 364 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2945, allocations: 4 kB / 452.7 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001009/0.2955, allocations: 0.5259 MB / 453.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2955, allocations: 8 kB / 453.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.407e-05/0.2955, allocations: 28 kB / 453.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.2958, allocations: 61.67 kB / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.2961, allocations: 72.3 kB / 453.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.2984, allocations: 2.6 MB / 456 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.2987, allocations: 43.66 kB / 456.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.2988, allocations: 20.12 kB / 456.1 MB, free: 12.77 MB / 366.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.0002713/0.299, allocations: 213.6 kB / 456.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.2991, allocations: 111.3 kB / 456.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3002, allocations: 485.7 kB / 456.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3002, allocations: 7.875 kB / 456.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3002, allocations: 4 kB / 456.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3002, allocations: 0 / 456.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.3008, allocations: 462.4 kB / 457.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.3008, allocations: 31.98 kB / 457.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.3011, allocations: 39.97 kB / 457.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.3012, allocations: 53.67 kB / 457.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.3013, allocations: 11.98 kB / 457.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.3034, allocations: 2.595 MB / 460.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3034, allocations: 3.984 kB / 460.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3047, allocations: 0.5962 MB / 460.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.3049, allocations: 115.2 kB / 460.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/0.305, allocations: 8.125 kB / 460.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.3052, allocations: 15.98 kB / 460.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.3053, allocations: 27.95 kB / 460.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.3053, allocations: 19.98 kB / 460.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.306, allocations: 0.5424 MB / 461.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.306, allocations: 0 / 461.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006551/0.3067, allocations: 243.4 kB / 461.6 MB, free: 6.918 MB / 366.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.0006139/0.3073, allocations: 360.6 kB / 462 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3084, allocations: 0.5674 MB / 462.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3084, allocations: 4 kB / 462.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006511/0.3091, allocations: 419 kB / 463 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.3096, allocations: 108.3 kB / 463.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3123, allocations: 1.539 MB / 464.6 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.3127, allocations: 361.3 kB / 465 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002438/0.3129, allocations: 85.2 kB / 465 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.313, allocations: 47.44 kB / 465.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.313, allocations: 0 / 465.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of Templates: time 0.01852/0.3316, allocations: 9.484 MB / 474.6 MB, free: 9.91 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.7287736851722]