Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001778/0.001778, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.416/1.416, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.02 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08303, allocations: 49.45 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00569/0.08877, allocations: 5.198 MB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007856/0.09666, allocations: 6.62 MB / 362.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.09741, allocations: 35.75 kB / 362.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.09874, allocations: 0.4967 MB / 363.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.1011, allocations: 0.8225 MB / 363.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1023, allocations: 430.5 kB / 364.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.1051, allocations: 1.993 MB / 366.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1054, allocations: 171 kB / 366.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.1059, allocations: 338.3 kB / 366.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.1062, allocations: 345.6 kB / 367.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.1063, allocations: 36 kB / 367.2 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1074, allocations: 483.6 kB / 367.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1075, allocations: 111.2 kB / 367.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.1079, allocations: 445.1 kB / 368.2 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1093, allocations: 1.261 MB / 369.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1093, allocations: 3.938 kB / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1093, allocations: 4 kB / 369.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1093, allocations: 0 / 369.5 MB, free: 1.59 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001792/0.1111, allocations: 1.433 MB / 370.9 MB, free: 100 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1112, allocations: 12.03 kB / 370.9 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1564/0.2676, allocations: 126 kB / 371 MB, free: 26.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.2691, allocations: 0.8507 MB / 371.9 MB, free: 26.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.2691, allocations: 16.38 kB / 371.9 MB, free: 26.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.2692, allocations: 21.69 kB / 371.9 MB, free: 26.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.2699, allocations: 307 kB / 372.2 MB, free: 26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2699, allocations: 3.844 kB / 372.2 MB, free: 26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.2699, allocations: 15.78 kB / 372.2 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2699, allocations: 5.219 kB / 372.2 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.2704, allocations: 225.8 kB / 372.5 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.2722, allocations: 1.128 MB / 373.6 MB, free: 25.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.2727, allocations: 238 kB / 373.8 MB, free: 25.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.2732, allocations: 299.2 kB / 374.1 MB, free: 25.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009117/0.2741, allocations: 0.7554 MB / 374.9 MB, free: 24.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2742, allocations: 36.69 kB / 374.9 MB, free: 24.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 3.166e-06/0.2742, allocations: 0.5938 kB / 374.9 MB, free: 24.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002918/0.2771, allocations: 1.548 MB / 376.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2772, allocations: 113.9 kB / 376.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2782, allocations: 0.9395 MB / 377.5 MB, free: 22.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2783, allocations: 31.89 kB / 377.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.2785, allocations: 360.8 kB / 377.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.2786, allocations: 128.7 kB / 378 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.2788, allocations: 118.9 kB / 378.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.2788, allocations: 322.4 kB / 378.4 MB, free: 22.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.2791, allocations: 126.1 kB / 378.6 MB, free: 22.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.2794, allocations: 159.8 kB / 378.7 MB, free: 22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2807, allocations: 0.728 MB / 379.5 MB, free: 21.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2807, allocations: 0 / 379.5 MB, free: 21.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009937/0.2817, allocations: 0.5635 MB / 380 MB, free: 21.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/0.2818, allocations: 40.44 kB / 380.1 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/0.2818, allocations: 17.7 kB / 380.1 MB, free: 21.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.2821, allocations: 70.94 kB / 380.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2823, allocations: 41.64 kB / 380.2 MB, free: 21.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.2843, allocations: 3.337 MB / 383.5 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.2847, allocations: 12.09 kB / 383.5 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.2848, allocations: 22.77 kB / 383.6 MB, free: 18.03 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004135/0.2852, allocations: 259.7 kB / 383.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.2854, allocations: 123 kB / 383.9 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.2867, allocations: 0.6638 MB / 384.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2867, allocations: 4 kB / 384.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2867, allocations: 6.219 kB / 384.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2867, allocations: 2.016 kB / 384.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.2875, allocations: 0.619 MB / 385.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/0.2876, allocations: 12.92 kB / 385.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.2878, allocations: 32.33 kB / 385.3 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.288, allocations: 74.33 kB / 385.3 MB, free: 17.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.288, allocations: 19.42 kB / 385.4 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.2898, allocations: 3.329 MB / 388.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2898, allocations: 0 / 388.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2911, allocations: 0.855 MB / 389.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.2915, allocations: 275.8 kB / 389.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2916, allocations: 12 kB / 389.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.2919, allocations: 12.5 kB / 389.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.292, allocations: 32.41 kB / 389.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.2921, allocations: 20.34 kB / 389.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008083/0.2929, allocations: 0.624 MB / 390.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2929, allocations: 5.25 kB / 390.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008524/0.2937, allocations: 224.8 kB / 390.7 MB, free: 12.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005174/0.2943, allocations: 296.6 kB / 391 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2955, allocations: 0.7924 MB / 391.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2955, allocations: 0 / 391.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.2961, allocations: 0.6168 MB / 392.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.2968, allocations: 117.5 kB / 392.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.2991, allocations: 1.632 MB / 394.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.2995, allocations: 1.003 MB / 395.2 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2996, allocations: 53.2 kB / 395.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2996, allocations: 1.188 kB / 395.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of Templates: time 0.01833/0.318, allocations: 17.32 MB / 412.6 MB, free: 11.86 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches