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.001154/0.001154, allocations: 114.6 kB / 16.63 MB, free: 6.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.001086/0.001086, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.289/1.289, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009576/0.0009577, allocations: 45.47 kB / 300.1 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08251, allocations: 49.45 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00536/0.08791, allocations: 5.189 MB / 354.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.09489, allocations: 6.551 MB / 361.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.09524, allocations: 35.69 kB / 361.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.09629, allocations: 461.5 kB / 361.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.09779, allocations: 0.7088 MB / 362.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.09863, allocations: 375 kB / 362.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1011, allocations: 2.024 MB / 364.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.1013, allocations: 167 kB / 365.1 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.1017, allocations: 350.2 kB / 365.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.1021, allocations: 337.7 kB / 365.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.1022, allocations: 32 kB / 365.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.103, allocations: 491.5 kB / 366.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.1031, allocations: 111.2 kB / 366.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.1035, allocations: 445.1 kB / 366.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1048, allocations: 1.265 MB / 368 MB, free: 2.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1048, allocations: 0 / 368 MB, free: 2.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1048, allocations: 3.938 kB / 368.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1048, allocations: 4 kB / 368.1 MB, free: 2.195 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.001723/0.1065, allocations: 1.436 MB / 369.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1066, allocations: 16.02 kB / 369.5 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1067, allocations: 130.3 kB / 369.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1329/0.2397, allocations: 0.8384 MB / 370.5 MB, free: 26.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2397, allocations: 16.72 kB / 370.5 MB, free: 26.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.2398, allocations: 21.12 kB / 370.5 MB, free: 26.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.2403, allocations: 310.2 kB / 370.8 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2403, allocations: 0 / 370.8 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.2404, allocations: 10.86 kB / 370.8 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2404, allocations: 6.125 kB / 370.8 MB, free: 25.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.2408, allocations: 225.7 kB / 371 MB, free: 25.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.2423, allocations: 1.119 MB / 372.2 MB, free: 25.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.2427, allocations: 255.3 kB / 372.4 MB, free: 25.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.2431, allocations: 294.7 kB / 372.7 MB, free: 25.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/0.2439, allocations: 0.7575 MB / 373.5 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.2439, allocations: 33.91 kB / 373.5 MB, free: 24.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 1.973e-06/0.2439, allocations: 3.828 kB / 373.5 MB, free: 24.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002542/0.2464, allocations: 1.555 MB / 375.1 MB, free: 23.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2465, allocations: 111.2 kB / 375.2 MB, free: 23.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/0.2474, allocations: 0.9312 MB / 376.1 MB, free: 23.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.2474, allocations: 32.81 kB / 376.1 MB, free: 22.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.2476, allocations: 355 kB / 376.5 MB, free: 22.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.2477, allocations: 131.2 kB / 376.6 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.2478, allocations: 116 kB / 376.7 MB, free: 22.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.2479, allocations: 329.8 kB / 377 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.2481, allocations: 120.1 kB / 377.2 MB, free: 22.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2484, allocations: 166 kB / 377.3 MB, free: 22.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.2496, allocations: 0.7263 MB / 378 MB, free: 21.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2496, allocations: 0 / 378 MB, free: 21.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000785/0.2504, allocations: 0.5604 MB / 378.6 MB, free: 21.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.2504, allocations: 36.89 kB / 378.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.2505, allocations: 19.38 kB / 378.7 MB, free: 21.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.2507, allocations: 66.73 kB / 378.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2509, allocations: 45.95 kB / 378.8 MB, free: 21.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.2526, allocations: 3.33 MB / 382.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.2529, allocations: 19.42 kB / 382.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.253, allocations: 20.34 kB / 382.1 MB, free: 18.14 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.0002815/0.2532, allocations: 257.1 kB / 382.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2534, allocations: 125.5 kB / 382.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.2546, allocations: 0.6646 MB / 383.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2546, allocations: 3.859 kB / 383.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2546, allocations: 2.188 kB / 383.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2546, allocations: 1.922 kB / 383.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.2553, allocations: 0.6107 MB / 383.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.2553, allocations: 21.23 kB / 383.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.2555, allocations: 35.02 kB / 383.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.2557, allocations: 75.77 kB / 383.9 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.2557, allocations: 14.95 kB / 383.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.2573, allocations: 3.341 MB / 387.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2573, allocations: 0 / 387.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2585, allocations: 0.8604 MB / 388.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.2588, allocations: 273.5 kB / 388.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.2589, allocations: 8.125 kB / 388.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.2592, allocations: 20.73 kB / 388.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.2593, allocations: 33.56 kB / 388.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.2594, allocations: 15.16 kB / 388.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006859/0.26, allocations: 0.6286 MB / 389.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2601, allocations: 0 / 389.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007891/0.2608, allocations: 222.1 kB / 389.3 MB, free: 12.91 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.0005042/0.2614, allocations: 299.6 kB / 389.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.2624, allocations: 0.785 MB / 390.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2624, allocations: 0 / 390.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.263, allocations: 0.6219 MB / 391 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.2636, allocations: 106.2 kB / 391.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2656, allocations: 1.925 MB / 393.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.266, allocations: 1.003 MB / 394.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.2664, allocations: 98.33 kB / 394.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.2665, allocations: 46.88 kB / 394.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2665, allocations: 0 / 394.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of Templates: time 0.01353/0.28, allocations: 8.618 MB / 402.8 MB, free: 4.684 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/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