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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1998,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=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009916, allocations: 84.78 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 180.4 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 241.2 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002191/0.0002191, allocations: 4 kB / 300.8 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08719, allocations: 50.42 MB / 351.2 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00429/0.09151, allocations: 4.395 MB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.102, allocations: 9.845 MB / 365.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.1024, allocations: 4 kB / 365.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.1039, allocations: 0.5867 MB / 366.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.1058, allocations: 0.7608 MB / 366.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1069, allocations: 407 kB / 367.2 MB, free: 4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.109, allocations: 1.256 MB / 368.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.1094, allocations: 159.7 kB / 368.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.1098, allocations: 250.7 kB / 368.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.1102, allocations: 278.2 kB / 369.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.1103, allocations: 16 kB / 369.2 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.1119, allocations: 0.679 MB / 369.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.112, allocations: 87.38 kB / 369.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.1122, allocations: 193.2 kB / 370.1 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1132, allocations: 0.892 MB / 371 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1132, allocations: 0 / 371 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1133, allocations: 0 / 371 MB, free: 180 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1133, allocations: 0 / 371 MB, free: 180 kB / 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.1572/0.2705, allocations: 1.2 MB / 372.2 MB, free: 25.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2706, allocations: 9.234 kB / 372.2 MB, free: 25.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2707, allocations: 112.2 kB / 372.3 MB, free: 25.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.2716, allocations: 0.7082 MB / 373 MB, free: 25.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2716, allocations: 23.53 kB / 373.1 MB, free: 25.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.2717, allocations: 25.44 kB / 373.1 MB, free: 25.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.2723, allocations: 328.9 kB / 373.4 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2724, allocations: 4.062 kB / 373.4 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.2724, allocations: 8.984 kB / 373.4 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.2724, allocations: 15.02 kB / 373.4 MB, free: 25.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.273, allocations: 299.7 kB / 373.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2748, allocations: 1.364 MB / 375.1 MB, free: 24.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.2755, allocations: 314.6 kB / 375.4 MB, free: 24.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.2759, allocations: 253.8 kB / 375.6 MB, free: 24.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003206/0.2791, allocations: 3.602 MB / 379.2 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.2795, allocations: 209.8 kB / 379.5 MB, free: 21.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.475e-06/0.2795, allocations: 1.375 kB / 379.5 MB, free: 21.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001423/0.281, allocations: 0.7555 MB / 380.2 MB, free: 20.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.281, allocations: 57.34 kB / 380.3 MB, free: 20.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.2818, allocations: 0.805 MB / 381.1 MB, free: 20.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2819, allocations: 31.05 kB / 381.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.2821, allocations: 453.4 kB / 381.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.2822, allocations: 98.58 kB / 381.6 MB, free: 20 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.2822, allocations: 5.438 kB / 381.6 MB, free: 20 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.2823, allocations: 321.4 kB / 382 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.2825, allocations: 124 kB / 382.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.2829, allocations: 240 kB / 382.3 MB, free: 19.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.2832, allocations: 144.8 kB / 382.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2832, allocations: 0.7812 kB / 382.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008972/0.2841, allocations: 0.5509 MB / 383 MB, free: 19.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2841, allocations: 7.094 kB / 383 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/0.2842, allocations: 32.42 kB / 383 MB, free: 19.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.2844, allocations: 61.09 kB / 383.1 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.2847, allocations: 74.56 kB / 383.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2859, allocations: 2.654 MB / 385.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.2862, allocations: 43.95 kB / 385.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.2863, allocations: 21.52 kB / 385.9 MB, free: 16.42 MB / 302.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 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.2865, allocations: 203.5 kB / 386.1 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.2866, allocations: 109.3 kB / 386.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2877, allocations: 0.5015 MB / 386.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2877, allocations: 11.09 kB / 386.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2878, allocations: 5.031 kB / 386.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2878, allocations: 1.359 kB / 386.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.2883, allocations: 0.5543 MB / 387.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/0.2884, allocations: 30.47 kB / 387.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.2886, allocations: 51.8 kB / 387.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.2888, allocations: 51.11 kB / 387.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.2888, allocations: 11.67 kB / 387.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.29, allocations: 2.632 MB / 390.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.29, allocations: 0 / 390.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.2912, allocations: 0.6407 MB / 390.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.2914, allocations: 177.9 kB / 390.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.2915, allocations: 7.547 kB / 390.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2917, allocations: 29.28 kB / 390.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/0.2918, allocations: 23.06 kB / 390.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.2918, allocations: 18.44 kB / 390.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006935/0.2925, allocations: 0.5386 MB / 391.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2925, allocations: 0 / 391.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006958/0.2933, allocations: 229.6 kB / 391.7 MB, free: 12.15 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004742/0.2937, allocations: 343.1 kB / 392 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008936/0.2946, allocations: 0.6092 MB / 392.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2946, allocations: 0 / 392.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.2952, allocations: 445.6 kB / 393.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.2957, allocations: 111.4 kB / 393.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2979, allocations: 1.728 MB / 394.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2982, allocations: 0.9555 MB / 395.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.2985, allocations: 85.69 kB / 396 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.2986, allocations: 41.66 kB / 396 MB, free: 9.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2986, allocations: 0 / 396 MB, free: 9.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01216/0.3108, allocations: 7.807 MB / 403.8 MB, free: 4.16 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (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) 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) Reference file matches