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.0008869/0.0008868, allocations: 102 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009523/0.0009523, allocations: 204.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002337/0.0002337, allocations: 8 kB / 306.6 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09368, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003883/0.0976, allocations: 4.139 MB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009131/0.1068, allocations: 9.365 MB / 371.6 MB, free: 400 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.1072, allocations: 11.94 kB / 371.6 MB, free: 388 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1779/0.2851, allocations: 0.6117 MB / 372.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.2883, allocations: 0.853 MB / 373 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2899, allocations: 417.2 kB / 373.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002791/0.2927, allocations: 1.288 MB / 374.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.293, allocations: 153.3 kB / 374.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.2934, allocations: 254.9 kB / 375.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.2937, allocations: 288.2 kB / 375.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.2938, allocations: 17.12 kB / 375.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.2956, allocations: 0.7114 MB / 376.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/0.2957, allocations: 88.77 kB / 376.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.2959, allocations: 193.5 kB / 376.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2971, allocations: 0.8828 MB / 377.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2971, allocations: 0 / 377.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2971, allocations: 0 / 377.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.2971, allocations: 1.25 kB / 377.3 MB, free: 8.676 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.001836/0.2989, allocations: 1.202 MB / 378.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.299, allocations: 9.281 kB / 378.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.2991, allocations: 116.1 kB / 378.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3002, allocations: 0.7055 MB / 379.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.3002, allocations: 20.75 kB / 379.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.3003, allocations: 28.2 kB / 379.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.3009, allocations: 326.6 kB / 379.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.301, allocations: 0 / 379.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.301, allocations: 10.66 kB / 379.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.301, allocations: 8.781 kB / 379.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.3017, allocations: 294.4 kB / 380 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.3037, allocations: 1.376 MB / 381.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.3043, allocations: 317.2 kB / 381.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002965/0.3073, allocations: 2.813 MB / 384.5 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.3077, allocations: 210.3 kB / 384.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.194e-06/0.3077, allocations: 0 / 384.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001441/0.3092, allocations: 0.7505 MB / 385.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3092, allocations: 55.17 kB / 385.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3102, allocations: 0.7986 MB / 386.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3103, allocations: 33.2 kB / 386.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.3106, allocations: 442.2 kB / 386.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.3107, allocations: 111 kB / 386.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.3107, allocations: 7.906 kB / 386.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.3108, allocations: 324 kB / 387.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3111, allocations: 128.3 kB / 387.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.3115, allocations: 230.4 kB / 387.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3118, allocations: 160.1 kB / 387.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3118, allocations: 3.953 kB / 387.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009628/0.3128, allocations: 0.5324 MB / 388.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3128, allocations: 7.156 kB / 388.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.813e-05/0.3129, allocations: 36.11 kB / 388.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.313, allocations: 31.8 kB / 388.3 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.3134, allocations: 92.94 kB / 388.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.3143, allocations: 1.347 MB / 389.8 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.3147, allocations: 49.62 kB / 389.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3147, allocations: 22.69 kB / 389.8 MB, free: 2.125 MB / 302.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 ($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 (39): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003045/0.315, allocations: 207.6 kB / 390 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3152, allocations: 103.6 kB / 390.1 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.3163, allocations: 0.5116 MB / 390.7 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.3163, allocations: 8.875 kB / 390.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3164, allocations: 1.25 kB / 390.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3164, allocations: 4 kB / 390.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.317, allocations: 0.5628 MB / 391.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.637e-05/0.317, allocations: 32.19 kB / 391.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.3173, allocations: 64.36 kB / 391.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.207e-05/0.3174, allocations: 29.02 kB / 391.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3175, allocations: 15.09 kB / 391.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006077/0.3181, allocations: 1.342 MB / 392.7 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3181, allocations: 2.812 kB / 392.7 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3192, allocations: 0.6441 MB / 393.4 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.3194, allocations: 182.5 kB / 393.5 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.3195, allocations: 8.672 kB / 393.5 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3197, allocations: 22 kB / 393.6 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.3198, allocations: 25.98 kB / 393.6 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3198, allocations: 17.55 kB / 393.6 MB, free: 72 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006152/0.3205, allocations: 0.5323 MB / 394.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3205, allocations: 0 / 394.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007403/0.3212, allocations: 242.6 kB / 394.4 MB, free: 15.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005021/0.3217, allocations: 344.4 kB / 394.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009041/0.3226, allocations: 0.5003 MB / 395.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3227, allocations: 0 / 395.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.3231, allocations: 342.6 kB / 395.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.3236, allocations: 114 kB / 395.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.3265, allocations: 1.893 MB / 397.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.3271, allocations: 0.9788 MB / 398.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.3275, allocations: 82.36 kB / 398.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.3276, allocations: 43.84 kB / 398.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3276, allocations: 0 / 398.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of Templates: time 0.01591/0.3435, allocations: 7.538 MB / 406.2 MB, free: 8.496 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","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches