Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001478/0.001478, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.00191/0.001911, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001179/0.001179, allocations: 47.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07674/0.07793, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1909/0.2689, allocations: 5.199 MB / 380.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009672/0.2786, allocations: 6.566 MB / 386.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.2795, allocations: 41.59 kB / 386.9 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.2812, allocations: 0.4898 MB / 387.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.2838, allocations: 0.8048 MB / 388.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.2854, allocations: 445.6 kB / 388.7 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.2881, allocations: 1.987 MB / 390.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.2883, allocations: 171.7 kB / 390.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.2888, allocations: 367.3 kB / 391.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.2891, allocations: 342.9 kB / 391.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.2892, allocations: 29.75 kB / 391.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.2902, allocations: 466.1 kB / 392 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.2903, allocations: 111.4 kB / 392.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.2906, allocations: 449.6 kB / 392.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2919, allocations: 1.265 MB / 393.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2919, allocations: 3.938 kB / 393.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2919, allocations: 3.938 kB / 393.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2919, allocations: 1 kB / 393.8 MB, free: 3.781 MB / 318.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.001604/0.2935, allocations: 1.44 MB / 395.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2935, allocations: 9.719 kB / 395.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.2937, allocations: 131.4 kB / 395.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2947, allocations: 0.852 MB / 396.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.2947, allocations: 17.44 kB / 396.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.2948, allocations: 26.16 kB / 396.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.2953, allocations: 309.6 kB / 396.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2954, allocations: 1.438 kB / 396.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.2954, allocations: 14.22 kB / 396.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2954, allocations: 7.016 kB / 396.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.2958, allocations: 223.2 kB / 396.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.2974, allocations: 1.118 MB / 398 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2978, allocations: 239.6 kB / 398.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.2983, allocations: 293.8 kB / 398.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.2991, allocations: 0.75 MB / 399.2 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2991, allocations: 40.94 kB / 399.3 MB, free: 160 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 1.813e-06/0.2991, allocations: 0 / 399.3 MB, free: 160 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.002819/0.3019, allocations: 1.551 MB / 400.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.302, allocations: 113.2 kB / 400.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3031, allocations: 0.9284 MB / 401.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3031, allocations: 31.08 kB / 401.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.3034, allocations: 359.1 kB / 402.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.3035, allocations: 132 kB / 402.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.3037, allocations: 114.3 kB / 402.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3038, allocations: 331 kB / 402.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.3041, allocations: 121.9 kB / 402.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.3044, allocations: 163.2 kB / 403.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.3057, allocations: 0.7398 MB / 403.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3057, allocations: 0 / 403.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009168/0.3066, allocations: 0.5531 MB / 404.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.3067, allocations: 46.73 kB / 404.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.564e-05/0.3067, allocations: 17.56 kB / 404.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.307, allocations: 68.03 kB / 404.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.3072, allocations: 43.81 kB / 404.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3099, allocations: 3.324 MB / 407.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.3103, allocations: 12.77 kB / 407.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.3104, allocations: 26.16 kB / 407.9 MB, free: 9.75 MB / 334.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.0004345/0.3108, allocations: 268.2 kB / 408.2 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.311, allocations: 120.4 kB / 408.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.3123, allocations: 0.6635 MB / 408.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3124, allocations: 4.75 kB / 409 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3124, allocations: 1.375 kB / 409 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3124, allocations: 2.922 kB / 409 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3135, allocations: 0.6169 MB / 409.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.3136, allocations: 15.69 kB / 409.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.3138, allocations: 40.5 kB / 409.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.3141, allocations: 72.72 kB / 409.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.3142, allocations: 17.81 kB / 409.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.3172, allocations: 3.326 MB / 413 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3172, allocations: 0 / 413 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.3186, allocations: 0.864 MB / 413.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.319, allocations: 273.4 kB / 414.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3192, allocations: 10.53 kB / 414.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.3194, allocations: 14.25 kB / 414.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.3195, allocations: 29.12 kB / 414.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.3196, allocations: 25.66 kB / 414.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008471/0.3205, allocations: 0.6277 MB / 414.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3205, allocations: 0 / 414.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00098/0.3215, allocations: 222.9 kB / 415.1 MB, free: 4.121 MB / 334.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.00053/0.322, allocations: 301.6 kB / 415.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3231, allocations: 0.7742 MB / 416.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3231, allocations: 9.062 kB / 416.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.3238, allocations: 0.6227 MB / 416.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.3244, allocations: 103.2 kB / 416.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3267, allocations: 1.56 MB / 418.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.3273, allocations: 1.004 MB / 419.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.3275, allocations: 91.02 kB / 419.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3276, allocations: 49.92 kB / 419.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3276, allocations: 0 / 419.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of Templates: time 0.01633/0.344, allocations: 8.679 MB / 428.3 MB, free: 8.934 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches