Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002134/0.0002134, allocations: 8 kB / 307.7 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08266, allocations: 51.52 MB / 359.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004245/0.08694, allocations: 4.692 MB / 364 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1685/0.2554, allocations: 10.88 MB / 374.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005734/0.256, allocations: 10.12 kB / 374.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.2577, allocations: 0.6436 MB / 375.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.26, allocations: 0.8096 MB / 376.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2611, allocations: 436.2 kB / 376.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.2628, allocations: 1.34 MB / 378.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.263, allocations: 159.5 kB / 378.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2633, allocations: 259.5 kB / 378.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.2636, allocations: 307 kB / 378.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.2636, allocations: 17.56 kB / 378.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.265, allocations: 0.7359 MB / 379.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.2651, allocations: 94.48 kB / 379.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.2653, allocations: 406.5 kB / 380 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2667, allocations: 1.228 MB / 381.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2667, allocations: 0 / 381.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2667, allocations: 1.156 kB / 381.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2667, allocations: 0 / 381.2 MB, free: 7.875 MB / 302.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.001489/0.2682, allocations: 1.195 MB / 382.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2683, allocations: 9.719 kB / 382.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2684, allocations: 118.3 kB / 382.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.2692, allocations: 0.7438 MB / 383.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.2692, allocations: 21.41 kB / 383.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.2693, allocations: 31.95 kB / 383.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.2699, allocations: 329.1 kB / 383.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2699, allocations: 3.938 kB / 383.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.27, allocations: 16.69 kB / 383.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.27, allocations: 9.844 kB / 383.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.2707, allocations: 298.2 kB / 384 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.2723, allocations: 1.378 MB / 385.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.273, allocations: 319.4 kB / 385.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.2735, allocations: 254.2 kB / 385.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/0.2763, allocations: 2.806 MB / 388.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.2768, allocations: 221.5 kB / 389 MB, free: 3.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.2768, allocations: 0 / 389 MB, free: 3.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001392/0.2782, allocations: 0.6614 MB / 389.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.2782, allocations: 58.59 kB / 389.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009071/0.2791, allocations: 0.8103 MB / 390.5 MB, free: 2.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2792, allocations: 31.86 kB / 390.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.2795, allocations: 443.4 kB / 391 MB, free: 2.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.2796, allocations: 109.3 kB / 391.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.2796, allocations: 35.75 kB / 391.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.2797, allocations: 323 kB / 391.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.28, allocations: 129.6 kB / 391.5 MB, free: 1.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.2804, allocations: 229.9 kB / 391.8 MB, free: 1.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.282, allocations: 0.76 MB / 392.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.282, allocations: 1.094 kB / 392.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009314/0.2829, allocations: 0.5295 MB / 393 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.283, allocations: 6.594 kB / 393.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-05/0.283, allocations: 35.55 kB / 393.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.2831, allocations: 33.41 kB / 393.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.2835, allocations: 91.09 kB / 393.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.2845, allocations: 1.347 MB / 394.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.2848, allocations: 57.31 kB / 394.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.2849, allocations: 14.03 kB / 394.6 MB, free: 15.57 MB / 318.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.0003282/0.2852, allocations: 214 kB / 394.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2853, allocations: 107.4 kB / 394.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.2865, allocations: 0.5003 MB / 395.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.2865, allocations: 7.531 kB / 395.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2865, allocations: 0.7969 kB / 395.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2866, allocations: 6.281 kB / 395.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.2873, allocations: 0.5722 MB / 396 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/0.2873, allocations: 36.94 kB / 396.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.2876, allocations: 61.33 kB / 396.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.333e-05/0.2877, allocations: 31.83 kB / 396.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2878, allocations: 9.5 kB / 396.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008866/0.2887, allocations: 1.337 MB / 397.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2887, allocations: 0 / 397.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.2899, allocations: 0.6393 MB / 398.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.2901, allocations: 186.8 kB / 398.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.2902, allocations: 9.984 kB / 398.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2905, allocations: 14.73 kB / 398.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.2906, allocations: 30.16 kB / 398.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2906, allocations: 17.09 kB / 398.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006411/0.2913, allocations: 0.544 MB / 398.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2913, allocations: 0 / 398.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007371/0.292, allocations: 238.5 kB / 399.2 MB, free: 12.32 MB / 318.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.0005907/0.2926, allocations: 364.2 kB / 399.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009564/0.2936, allocations: 0.5071 MB / 400 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2936, allocations: 0 / 400 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.2941, allocations: 337.5 kB / 400.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.2947, allocations: 112 kB / 400.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.2974, allocations: 1.987 MB / 402.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.2979, allocations: 0.9618 MB / 403.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.2982, allocations: 89.34 kB / 403.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.2983, allocations: 45.59 kB / 403.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2983, allocations: 0 / 403.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of Templates: time 0.01456/0.3128, allocations: 7.865 MB / 411.4 MB, free: 2.422 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches