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.001606/0.001606, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001543/0.001543, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.395/1.395, allocations: 225.6 MB / 250.8 MB, free: 13.42 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.001517/0.001517, allocations: 51.91 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 52.15 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006347/0.269, allocations: 5.107 MB / 426 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.2818, allocations: 10.82 MB / 436.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.2825, allocations: 31.75 kB / 436.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.2845, allocations: 0.6878 MB / 437.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.2877, allocations: 1.022 MB / 438.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2893, allocations: 0.6037 MB / 439.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.2915, allocations: 1.381 MB / 440.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.2917, allocations: 113.2 kB / 440.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.292, allocations: 290.5 kB / 440.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.2924, allocations: 313.9 kB / 441.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.2925, allocations: 32 kB / 441.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.2939, allocations: 0.7453 MB / 442 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2941, allocations: 111.3 kB / 442.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.2945, allocations: 401.4 kB / 442.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.2961, allocations: 1.276 MB / 443.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2961, allocations: 0 / 443.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2961, allocations: 0 / 443.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2962, allocations: 0 / 443.8 MB, free: 8.109 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.001972/0.2981, allocations: 1.365 MB / 445.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2982, allocations: 12.03 kB / 445.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2983, allocations: 120.2 kB / 445.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2994, allocations: 0.7443 MB / 446 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2994, allocations: 24.5 kB / 446 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.2994, allocations: 24 kB / 446.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.3001, allocations: 325.3 kB / 446.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3001, allocations: 4 kB / 446.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.3001, allocations: 12 kB / 446.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3001, allocations: 4 kB / 446.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.3008, allocations: 278.2 kB / 446.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3028, allocations: 1.369 MB / 448 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.3035, allocations: 274.5 kB / 448.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.3039, allocations: 212.6 kB / 448.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004402/0.3083, allocations: 3.608 MB / 452.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.3087, allocations: 199.3 kB / 452.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.285e-06/0.3087, allocations: 0 / 452.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001705/0.3104, allocations: 0.7232 MB / 453 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3105, allocations: 51.41 kB / 453.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.3114, allocations: 0.8232 MB / 453.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3115, allocations: 33.7 kB / 453.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.3119, allocations: 452.8 kB / 454.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.3119, allocations: 103.1 kB / 454.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3121, allocations: 70.03 kB / 454.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3122, allocations: 325.9 kB / 454.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3125, allocations: 116.7 kB / 455 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.3129, allocations: 227.9 kB / 455.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.3136, allocations: 369.6 kB / 455.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3136, allocations: 0 / 455.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001039/0.3146, allocations: 0.5254 MB / 456.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3146, allocations: 7.75 kB / 456.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.404e-05/0.3147, allocations: 35.98 kB / 456.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.3149, allocations: 57.69 kB / 456.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3152, allocations: 76.3 kB / 456.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.3175, allocations: 2.84 MB / 459.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3178, allocations: 47.84 kB / 459.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.3179, allocations: 23.98 kB / 459.2 MB, free: 7.438 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.0002764/0.3182, allocations: 205.6 kB / 459.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3183, allocations: 107.3 kB / 459.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3194, allocations: 489.2 kB / 460 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3194, allocations: 4 kB / 460 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3194, allocations: 4 kB / 460 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3194, allocations: 3.984 kB / 460 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.32, allocations: 0.5584 MB / 460.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/0.3201, allocations: 28 kB / 460.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.3204, allocations: 51.8 kB / 460.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.3205, allocations: 49.69 kB / 460.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.3205, allocations: 11.98 kB / 460.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.3228, allocations: 2.852 MB / 463.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3228, allocations: 0 / 463.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.324, allocations: 0.601 MB / 464.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3242, allocations: 196.4 kB / 464.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.3243, allocations: 11.94 kB / 464.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.3245, allocations: 7.984 kB / 464.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.3246, allocations: 27.97 kB / 464.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3246, allocations: 12 kB / 464.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007284/0.3253, allocations: 0.5544 MB / 464.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3253, allocations: 0 / 464.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00066/0.326, allocations: 243.4 kB / 465.2 MB, free: 1.039 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.0005797/0.3266, allocations: 359.9 kB / 465.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3277, allocations: 0.5778 MB / 466.1 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3277, allocations: 0 / 466.1 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.3283, allocations: 423 kB / 466.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.3288, allocations: 112.4 kB / 466.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.3313, allocations: 1.549 MB / 468.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.3318, allocations: 0.9522 MB / 469.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.3321, allocations: 85.19 kB / 469.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.3321, allocations: 43.44 kB / 469.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3321, allocations: 0 / 469.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01787/0.35, allocations: 8.56 MB / 477.8 MB, free: 4.293 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.580086945556104]