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.001788/0.001788, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002097/0.002097, allocations: 188.1 kB / 23.72 MB, free: 4.711 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.437/1.437, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001559/0.001559, allocations: 51.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2431, allocations: 52.19 MB / 423.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006458/0.2496, allocations: 5.115 MB / 428.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.262, allocations: 10.82 MB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.2626, allocations: 43.56 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2643, allocations: 0.6974 MB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.2668, allocations: 1.016 MB / 440.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2683, allocations: 0.6059 MB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.2705, allocations: 1.382 MB / 442.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.2707, allocations: 121.8 kB / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.2711, allocations: 298.5 kB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.2715, allocations: 321.9 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.2715, allocations: 32 kB / 443.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.273, allocations: 0.7453 MB / 444.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2731, allocations: 107.3 kB / 444.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.2735, allocations: 405.4 kB / 444.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.2751, allocations: 1.276 MB / 446.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2751, allocations: 0 / 446.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2751, allocations: 0 / 446.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.2751, allocations: 0 / 446.1 MB, free: 7.617 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.002041/0.2771, allocations: 1.289 MB / 447.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2772, allocations: 12.03 kB / 447.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.2773, allocations: 120.2 kB / 447.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.2784, allocations: 0.6839 MB / 448.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2785, allocations: 28.59 kB / 448.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.2785, allocations: 24 kB / 448.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/0.2792, allocations: 318 kB / 448.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2792, allocations: 0 / 448.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.2793, allocations: 12 kB / 448.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2793, allocations: 11.98 kB / 448.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.28, allocations: 278.5 kB / 448.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.2821, allocations: 1.323 MB / 450.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.2828, allocations: 276 kB / 450.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.2833, allocations: 216.7 kB / 450.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003483/0.2867, allocations: 1.467 MB / 452.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/0.2872, allocations: 187.3 kB / 452.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.2872, allocations: 4 kB / 452.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001648/0.2888, allocations: 0.5765 MB / 452.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2889, allocations: 55.41 kB / 452.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.2899, allocations: 0.8192 MB / 453.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2899, allocations: 29.7 kB / 453.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.2903, allocations: 456.8 kB / 454.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.2904, allocations: 111 kB / 454.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2905, allocations: 70.03 kB / 454.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2906, allocations: 329.9 kB / 454.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.291, allocations: 116.7 kB / 454.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.2914, allocations: 220 kB / 455 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.2921, allocations: 365.3 kB / 455.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2921, allocations: 0 / 455.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001051/0.2931, allocations: 0.5253 MB / 455.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2931, allocations: 4.438 kB / 455.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.054e-05/0.2932, allocations: 43.98 kB / 456 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.2934, allocations: 49.69 kB / 456 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.2938, allocations: 75.89 kB / 456.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.296, allocations: 2.646 MB / 458.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.2964, allocations: 43.77 kB / 458.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.2964, allocations: 16 kB / 458.8 MB, free: 10.27 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.0002948/0.2967, allocations: 213.6 kB / 459 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.2968, allocations: 115.3 kB / 459.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.298, allocations: 489.8 kB / 459.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.298, allocations: 0 / 459.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.298, allocations: 0 / 459.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.298, allocations: 7.984 kB / 459.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.2986, allocations: 0.5262 MB / 460.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.591e-05/0.2987, allocations: 32 kB / 460.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.2989, allocations: 51.8 kB / 460.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.2991, allocations: 49.62 kB / 460.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.2991, allocations: 8 kB / 460.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.3012, allocations: 2.641 MB / 462.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3012, allocations: 3.984 kB / 462.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3025, allocations: 0.6003 MB / 463.5 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.3027, allocations: 115.2 kB / 463.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.3028, allocations: 8 kB / 463.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.3031, allocations: 15.98 kB / 463.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.3032, allocations: 35.95 kB / 463.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.3032, allocations: 11.98 kB / 463.7 MB, free: 5.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007149/0.304, allocations: 0.5467 MB / 464.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.304, allocations: 0 / 464.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006447/0.3046, allocations: 247.4 kB / 464.5 MB, free: 4.242 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.0005859/0.3052, allocations: 352.7 kB / 464.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3063, allocations: 0.5706 MB / 465.4 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3063, allocations: 4.812 kB / 465.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.307, allocations: 430.9 kB / 465.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.3075, allocations: 104.4 kB / 465.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.3101, allocations: 1.546 MB / 467.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.3107, allocations: 0.9561 MB / 468.4 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.3109, allocations: 81.22 kB / 468.5 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.311, allocations: 43.44 kB / 468.6 MB, free: 40 kB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.311, allocations: 3.938 kB / 468.6 MB, free: 36 kB / 366.1 MB Notification: Performance of Templates: time 0.01744/0.3284, allocations: 8.625 MB / 477.2 MB, free: 7.445 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.767040658742189]