Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001033/0.001033, allocations: 108 kB / 18.35 MB, free: 4.812 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.001002/0.001002, allocations: 192.2 kB / 19.29 MB, free: 3.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07292/0.07409, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005261/0.07938, allocations: 5.017 MB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.08946, allocations: 10.43 MB / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.0901, allocations: 31.75 kB / 344.2 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.09166, allocations: 0.6787 MB / 344.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.09411, allocations: 0.9906 MB / 345.9 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.09542, allocations: 0.5959 MB / 346.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.09717, allocations: 1.35 MB / 347.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.09747, allocations: 181.1 kB / 348 MB, free: 372 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.09778, allocations: 270.6 kB / 348.3 MB, free: 100 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.09811, allocations: 318 kB / 348.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.09818, allocations: 32 kB / 348.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.09945, allocations: 0.6752 MB / 349.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.09954, allocations: 107.3 kB / 349.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.09984, allocations: 397.5 kB / 349.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1011, allocations: 1.265 MB / 351 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1011, allocations: 0 / 351 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1011, allocations: 4 kB / 351 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1012, allocations: 3.938 kB / 351 MB, free: 13.3 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.001694/0.1029, allocations: 1.323 MB / 352.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1029, allocations: 8.031 kB / 352.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.103, allocations: 111.6 kB / 352.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/0.104, allocations: 0.7543 MB / 353.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.104, allocations: 16.56 kB / 353.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.1041, allocations: 28 kB / 353.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.1047, allocations: 317.3 kB / 353.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1047, allocations: 7.938 kB / 353.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1047, allocations: 8 kB / 353.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1047, allocations: 8 kB / 353.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.1054, allocations: 278.2 kB / 353.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1071, allocations: 1.353 MB / 355.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.1077, allocations: 302.5 kB / 355.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.1081, allocations: 244.6 kB / 355.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003739/0.1119, allocations: 3.619 MB / 359.4 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/0.1123, allocations: 191.2 kB / 359.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.315e-06/0.1123, allocations: 0 / 359.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001561/0.1139, allocations: 0.7225 MB / 360.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.114, allocations: 63.41 kB / 360.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.1148, allocations: 0.8192 MB / 361.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1148, allocations: 25.7 kB / 361.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.1151, allocations: 448.5 kB / 361.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.1152, allocations: 102.6 kB / 361.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1153, allocations: 65.94 kB / 361.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.1154, allocations: 322 kB / 362.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.1157, allocations: 120.7 kB / 362.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.1161, allocations: 228 kB / 362.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.1167, allocations: 356.9 kB / 362.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1167, allocations: 0 / 362.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008989/0.1176, allocations: 0.5248 MB / 363.3 MB, free: 16 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1176, allocations: 4 kB / 363.3 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/0.1177, allocations: 35.98 kB / 363.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.1179, allocations: 54.09 kB / 363.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1182, allocations: 71.89 kB / 363.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.1201, allocations: 2.848 MB / 366.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1204, allocations: 43.67 kB / 366.4 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.1205, allocations: 15.98 kB / 366.4 MB, free: 12.66 MB / 318.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.0002308/0.1207, allocations: 205.7 kB / 366.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.1208, allocations: 114.7 kB / 366.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.1218, allocations: 497.9 kB / 367.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1218, allocations: 3.984 kB / 367.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.871e-05/0.1219, allocations: 28 kB / 367.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.1221, allocations: 183.8 kB / 367.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.1222, allocations: 7.938 kB / 367.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1224, allocations: 11.98 kB / 367.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.1225, allocations: 35.89 kB / 367.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001076/0.1236, allocations: 454.4 kB / 367.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001064/0.1247, allocations: 0.6908 MB / 368.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002934/0.125, allocations: 135.9 kB / 368.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005619/0.1255, allocations: 0.5467 MB / 369.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of Backend: time 5.11e-07/0.1255, allocations: 0 / 369.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.1273, allocations: 0.9288 MB / 370.2 MB, free: 8.73 MB / 318.1 MB Notification: Performance of SimCode: time 0.001926/0.1292, allocations: 1.929 MB / 372.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of Templates: time 0.1426/0.2718, allocations: 10.08 MB / 382.2 MB, free: 54.16 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches