Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.19 kB / 306.9 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08499, allocations: 50.52 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005935/0.09096, allocations: 5.206 MB / 362.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008316/0.09932, allocations: 6.812 MB / 369.4 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007507/0.1001, allocations: 35.75 kB / 369.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.1015, allocations: 453.5 kB / 369.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.1037, allocations: 0.6756 MB / 370.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1048, allocations: 331 kB / 370.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1457/0.2505, allocations: 1.996 MB / 372.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.2509, allocations: 160.6 kB / 373.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.2515, allocations: 333.4 kB / 373.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.2519, allocations: 342.1 kB / 373.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.252, allocations: 19.97 kB / 373.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.2532, allocations: 491 kB / 374.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.2533, allocations: 101 kB / 374.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.2536, allocations: 435.7 kB / 374.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009231/0.2546, allocations: 0.9319 MB / 375.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2546, allocations: 0 / 375.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2546, allocations: 1.375 kB / 375.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2546, allocations: 0.9375 kB / 375.7 MB, free: 9.32 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.001721/0.2563, allocations: 1.452 MB / 377.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2564, allocations: 8.812 kB / 377.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.2567, allocations: 141.5 kB / 377.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.2576, allocations: 0.8569 MB / 378.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2577, allocations: 13.09 kB / 378.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.2577, allocations: 29.81 kB / 378.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.2582, allocations: 303.4 kB / 378.5 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2583, allocations: 4 kB / 378.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2583, allocations: 9.688 kB / 378.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2583, allocations: 10.45 kB / 378.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.2587, allocations: 225.7 kB / 378.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2603, allocations: 1.123 MB / 379.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.2607, allocations: 244.7 kB / 380.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.2612, allocations: 301.9 kB / 380.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.262, allocations: 0.826 MB / 381.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.262, allocations: 43.14 kB / 381.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/0.262, allocations: 0 / 381.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002753/0.2648, allocations: 1.554 MB / 382.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.2648, allocations: 109.7 kB / 382.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.2659, allocations: 0.9274 MB / 383.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.2659, allocations: 31.58 kB / 383.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2661, allocations: 366.6 kB / 384.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.2662, allocations: 130.9 kB / 384.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2664, allocations: 114.4 kB / 384.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.2664, allocations: 330.2 kB / 384.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.2667, allocations: 121.9 kB / 384.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.2669, allocations: 154.2 kB / 385.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2683, allocations: 0.7328 MB / 385.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2683, allocations: 1.156 kB / 385.8 MB, free: 4.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008978/0.2692, allocations: 0.5523 MB / 386.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.2692, allocations: 41.41 kB / 386.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.2693, allocations: 22.23 kB / 386.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.2695, allocations: 67.53 kB / 386.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.2697, allocations: 44.31 kB / 386.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.2715, allocations: 2.994 MB / 389.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.2719, allocations: 12.62 kB / 389.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.272, allocations: 21.12 kB / 389.5 MB, free: 0.7891 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.0003963/0.2724, allocations: 264.4 kB / 389.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.2725, allocations: 124.3 kB / 389.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2738, allocations: 0.6632 MB / 390.6 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2738, allocations: 3.328 kB / 390.6 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2738, allocations: 6.031 kB / 390.6 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2738, allocations: 2.625 kB / 390.6 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.2747, allocations: 0.6076 MB / 391.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.2748, allocations: 16.45 kB / 391.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.275, allocations: 34.28 kB / 391.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.2752, allocations: 73.28 kB / 391.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.2752, allocations: 14.8 kB / 391.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.2776, allocations: 3.003 MB / 394.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2776, allocations: 1.156 kB / 394.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.2791, allocations: 0.8647 MB / 395.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.2795, allocations: 271.9 kB / 395.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2797, allocations: 15.72 kB / 395.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.28, allocations: 10.5 kB / 395.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2801, allocations: 30.52 kB / 395.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.2801, allocations: 19.88 kB / 395.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008316/0.281, allocations: 0.6276 MB / 396.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.281, allocations: 1.438 kB / 396.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009555/0.2819, allocations: 229.7 kB / 396.4 MB, free: 11.9 MB / 318.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.0006004/0.2826, allocations: 298.4 kB / 396.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.2837, allocations: 0.7723 MB / 397.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2837, allocations: 0 / 397.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.2845, allocations: 0.6223 MB / 398.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.2852, allocations: 112.4 kB / 398.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.2877, allocations: 1.956 MB / 400.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.2883, allocations: 0.9996 MB / 401.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.2884, allocations: 54.22 kB / 401.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2884, allocations: 1.094 kB / 401.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of Templates: time 0.0205/0.3089, allocations: 17.36 MB / 418.6 MB, free: 10.45 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches