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.0009867/0.0009868, allocations: 89.23 kB / 16.65 MB, free: 6.258 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.001252/0.001252, allocations: 179.1 kB / 17.56 MB, free: 5.875 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.279/1.279, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8.688 kB / 301.4 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 50.41 MB / 351.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007789/0.1105, allocations: 4.784 MB / 356.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.124, allocations: 6.649 MB / 363.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.1253, allocations: 39.69 kB / 363.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.1276, allocations: 478.4 kB / 363.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1311, allocations: 0.6639 MB / 364.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1329, allocations: 327 kB / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004818/0.1377, allocations: 1.958 MB / 366.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.1383, allocations: 151.5 kB / 366.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008468/0.1391, allocations: 326.1 kB / 367.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007018/0.1399, allocations: 325.7 kB / 367.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.14, allocations: 23.92 kB / 367.5 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.1417, allocations: 475.6 kB / 368 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.1419, allocations: 95.2 kB / 368.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007905/0.1427, allocations: 466.7 kB / 368.5 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.1449, allocations: 1.218 MB / 369.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1449, allocations: 0 / 369.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1449, allocations: 0 / 369.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.1449, allocations: 0 / 369.7 MB, free: 1.449 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.002363/0.1473, allocations: 1.289 MB / 371 MB, free: 104 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1474, allocations: 12.03 kB / 371.1 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1775/0.3249, allocations: 126.9 kB / 371.2 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.3263, allocations: 0.8434 MB / 372 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.3264, allocations: 16.97 kB / 372 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.3265, allocations: 22.19 kB / 372.1 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.3272, allocations: 308.9 kB / 372.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3272, allocations: 1.5 kB / 372.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.3272, allocations: 12.84 kB / 372.4 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3273, allocations: 6.25 kB / 372.4 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.3277, allocations: 229.2 kB / 372.6 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3296, allocations: 1.133 MB / 373.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.3301, allocations: 247.3 kB / 374 MB, free: 24.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.3305, allocations: 300.9 kB / 374.3 MB, free: 24.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/0.3313, allocations: 0.76 MB / 375 MB, free: 23.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3314, allocations: 36.75 kB / 375.1 MB, free: 23.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/0.3314, allocations: 0 / 375.1 MB, free: 23.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002902/0.3343, allocations: 1.584 MB / 376.6 MB, free: 22.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3343, allocations: 116.1 kB / 376.8 MB, free: 22.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3354, allocations: 0.9327 MB / 377.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3355, allocations: 31.08 kB / 377.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.3357, allocations: 355.4 kB / 378.1 MB, free: 21.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.3358, allocations: 131.7 kB / 378.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.3359, allocations: 41.69 kB / 378.2 MB, free: 21.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.3359, allocations: 322.7 kB / 378.6 MB, free: 21.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3362, allocations: 123.9 kB / 378.7 MB, free: 20.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.3365, allocations: 163.1 kB / 378.8 MB, free: 20.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3379, allocations: 0.7465 MB / 379.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3379, allocations: 0 / 379.6 MB, free: 20.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001012/0.3389, allocations: 0.5655 MB / 380.1 MB, free: 20.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3389, allocations: 41.12 kB / 380.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.339, allocations: 17.73 kB / 380.2 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.3392, allocations: 67.38 kB / 380.3 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.3395, allocations: 51.81 kB / 380.3 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.3413, allocations: 2.988 MB / 383.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3416, allocations: 13.95 kB / 383.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.3417, allocations: 21.09 kB / 383.3 MB, free: 17.27 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.0004054/0.3421, allocations: 262.2 kB / 383.6 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3423, allocations: 120.7 kB / 383.7 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.3436, allocations: 0.6823 MB / 384.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3436, allocations: 8.297 kB / 384.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3436, allocations: 1.938 kB / 384.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3436, allocations: 1.312 kB / 384.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.3443, allocations: 0.6112 MB / 385 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/0.3444, allocations: 23.41 kB / 385 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3445, allocations: 37.92 kB / 385.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.3447, allocations: 67.27 kB / 385.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3448, allocations: 15.84 kB / 385.2 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.3464, allocations: 2.998 MB / 388.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3464, allocations: 0.7031 kB / 388.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3476, allocations: 0.8667 MB / 389 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.348, allocations: 274.8 kB / 389.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.3481, allocations: 12.2 kB / 389.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.3484, allocations: 17.34 kB / 389.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.3485, allocations: 28.86 kB / 389.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.3485, allocations: 20.17 kB / 389.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007882/0.3493, allocations: 0.6286 MB / 390 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3493, allocations: 0 / 390 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008168/0.3501, allocations: 226.7 kB / 390.2 MB, free: 12.36 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.0005226/0.3507, allocations: 291.4 kB / 390.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3517, allocations: 0.7993 MB / 391.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3517, allocations: 0 / 391.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.3523, allocations: 0.6223 MB / 391.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.3529, allocations: 112 kB / 392 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.3553, allocations: 1.985 MB / 394 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3557, allocations: 1.002 MB / 395 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.3561, allocations: 91.77 kB / 395.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.3561, allocations: 52.31 kB / 395.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3562, allocations: 0 / 395.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of Templates: time 0.01426/0.3704, allocations: 8.309 MB / 403.5 MB, free: 4.109 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