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.001146/0.001146, allocations: 97.39 kB / 16.3 MB, free: 5.656 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.001353/0.001353, allocations: 183.1 kB / 17.2 MB, free: 5.59 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.305/1.305, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002965, allocations: 8.562 kB / 300.7 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08323/0.08354, allocations: 50.41 MB / 351.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003703/0.08728, allocations: 4.123 MB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.09743, allocations: 9.353 MB / 364.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007392/0.09822, allocations: 7.938 kB / 364.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.09996, allocations: 0.6223 MB / 365.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.1027, allocations: 0.8566 MB / 366.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1039, allocations: 407.4 kB / 366.5 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.1062, allocations: 1.276 MB / 367.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.1065, allocations: 151.8 kB / 367.9 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.1068, allocations: 254.7 kB / 368.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.1071, allocations: 290.2 kB / 368.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.1071, allocations: 16 kB / 368.5 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.1086, allocations: 0.7026 MB / 369.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.1087, allocations: 87.38 kB / 369.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.1089, allocations: 193.1 kB / 369.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008001/0.1097, allocations: 0.8767 MB / 370.3 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1097, allocations: 7.938 kB / 370.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1097, allocations: 4 kB / 370.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1097, allocations: 0 / 370.3 MB, free: 0.7422 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.1577/0.2674, allocations: 1.19 MB / 371.5 MB, free: 25.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2675, allocations: 8.844 kB / 371.5 MB, free: 25.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.2677, allocations: 112.1 kB / 371.6 MB, free: 25.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.2689, allocations: 0.7077 MB / 372.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.269, allocations: 19.33 kB / 372.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.2691, allocations: 26.19 kB / 372.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.2697, allocations: 325.1 kB / 372.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2698, allocations: 0.6562 kB / 372.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.2698, allocations: 12.81 kB / 372.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2698, allocations: 13.69 kB / 372.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006549/0.2705, allocations: 297.4 kB / 373 MB, free: 25.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.2724, allocations: 1.374 MB / 374.4 MB, free: 24.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.2731, allocations: 316.2 kB / 374.7 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003482/0.2766, allocations: 3.601 MB / 378.3 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.277, allocations: 215.4 kB / 378.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.277, allocations: 0 / 378.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001501/0.2785, allocations: 0.8325 MB / 379.4 MB, free: 20.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2785, allocations: 56.14 kB / 379.4 MB, free: 20.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.2794, allocations: 0.8085 MB / 380.2 MB, free: 20.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2794, allocations: 31.02 kB / 380.2 MB, free: 20.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.2797, allocations: 446.8 kB / 380.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.2797, allocations: 102.3 kB / 380.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.2798, allocations: 5.062 kB / 380.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.2798, allocations: 322.9 kB / 381.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2801, allocations: 126.7 kB / 381.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.2804, allocations: 236.9 kB / 381.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.2807, allocations: 146.9 kB / 381.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2808, allocations: 1.406 kB / 381.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009135/0.2817, allocations: 0.5438 MB / 382.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2817, allocations: 6.312 kB / 382.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.323e-05/0.2818, allocations: 34.73 kB / 382.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.282, allocations: 59.36 kB / 382.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2823, allocations: 73.03 kB / 382.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2836, allocations: 2.665 MB / 385 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.284, allocations: 52.48 kB / 385 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.284, allocations: 15.61 kB / 385 MB, free: 16.49 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.0002211/0.2842, allocations: 204.9 kB / 385.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.2843, allocations: 111.8 kB / 385.4 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.2854, allocations: 0.5208 MB / 385.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2855, allocations: 2.969 kB / 385.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2855, allocations: 1.469 kB / 385.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2855, allocations: 1.453 kB / 385.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.2861, allocations: 0.5586 MB / 386.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.084e-05/0.2861, allocations: 30.58 kB / 386.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.2864, allocations: 46.94 kB / 386.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.2865, allocations: 50.78 kB / 386.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.2866, allocations: 11.22 kB / 386.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.2878, allocations: 2.655 MB / 389.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2878, allocations: 0.6562 kB / 389.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.2889, allocations: 0.6368 MB / 389.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.2892, allocations: 183.3 kB / 390.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/0.2892, allocations: 6.766 kB / 390.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2895, allocations: 21.19 kB / 390.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.2896, allocations: 28.77 kB / 390.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2896, allocations: 14.02 kB / 390.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006408/0.2903, allocations: 0.5397 MB / 390.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2903, allocations: 0 / 390.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006695/0.2909, allocations: 239.4 kB / 390.9 MB, free: 12.24 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.0004907/0.2914, allocations: 331 kB / 391.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009924/0.2924, allocations: 0.6055 MB / 391.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2925, allocations: 0 / 391.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.293, allocations: 450.1 kB / 392.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2935, allocations: 105 kB / 392.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.2957, allocations: 1.738 MB / 394.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2961, allocations: 0.9745 MB / 395.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.2964, allocations: 90.22 kB / 395.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.2964, allocations: 41.66 kB / 395.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2964, allocations: 1 kB / 395.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of Templates: time 0.01271/0.3092, allocations: 7.637 MB / 402.8 MB, free: 4.84 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","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches