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.001069/0.001069, allocations: 94.36 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 204.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001986/0.0001986, allocations: 8 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08649, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003991/0.09051, allocations: 4.198 MB / 362.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.09719, allocations: 5.764 MB / 368 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.0976, allocations: 35.69 kB / 368.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.09858, allocations: 410.1 kB / 368.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.1001, allocations: 0.7203 MB / 369.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.1009, allocations: 303.3 kB / 369.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1035, allocations: 1.868 MB / 371.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.1038, allocations: 154.2 kB / 371.5 MB, free: 464 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.1041, allocations: 310.4 kB / 371.8 MB, free: 152 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1842/0.2884, allocations: 303.9 kB / 372.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.2886, allocations: 19.28 kB / 372.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.29, allocations: 451.6 kB / 372.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.2901, allocations: 89.36 kB / 372.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.2904, allocations: 218.8 kB / 372.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.292, allocations: 0.9122 MB / 373.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.292, allocations: 1.156 kB / 373.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.292, allocations: 1.156 kB / 373.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.292, allocations: 0 / 373.8 MB, free: 9.707 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.001934/0.294, allocations: 1.303 MB / 375.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.294, allocations: 11.34 kB / 375.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.2943, allocations: 138.7 kB / 375.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2955, allocations: 0.8001 MB / 376 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2955, allocations: 16.38 kB / 376 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.2956, allocations: 29.69 kB / 376.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.2962, allocations: 307.4 kB / 376.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2962, allocations: 1.188 kB / 376.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.2963, allocations: 9.344 kB / 376.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2963, allocations: 6.203 kB / 376.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.2967, allocations: 229.7 kB / 376.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2984, allocations: 1.143 MB / 377.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.2988, allocations: 250.7 kB / 378 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008154/0.2996, allocations: 0.8359 MB / 378.8 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2996, allocations: 36.98 kB / 378.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/0.2997, allocations: 2.188 kB / 378.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002739/0.3024, allocations: 1.972 MB / 380.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.3025, allocations: 117.2 kB / 381 MB, free: 5.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3035, allocations: 0.9203 MB / 381.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3035, allocations: 30.61 kB / 381.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.3037, allocations: 356.6 kB / 382.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.3038, allocations: 130.3 kB / 382.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.3038, allocations: 4.406 kB / 382.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.3039, allocations: 326.7 kB / 382.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.3041, allocations: 127 kB / 382.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.3044, allocations: 158.2 kB / 383 MB, free: 5.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3047, allocations: 186.4 kB / 383.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3047, allocations: 0 / 383.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008218/0.3055, allocations: 0.5563 MB / 383.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.3056, allocations: 39.61 kB / 383.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.3056, allocations: 17.5 kB / 383.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.3058, allocations: 66.17 kB / 383.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.3061, allocations: 46.59 kB / 383.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.3077, allocations: 3.002 MB / 386.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.3081, allocations: 22.28 kB / 386.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.3081, allocations: 22.22 kB / 386.9 MB, free: 2.219 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003503/0.3085, allocations: 258 kB / 387.2 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3086, allocations: 125.5 kB / 387.3 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3099, allocations: 0.6835 MB / 388 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3099, allocations: 2.938 kB / 388 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3099, allocations: 1.094 kB / 388 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3099, allocations: 3.281 kB / 388 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.3107, allocations: 0.6125 MB / 388.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.3107, allocations: 13.98 kB / 388.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3109, allocations: 40.62 kB / 388.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.3111, allocations: 73.11 kB / 388.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3111, allocations: 19.42 kB / 388.7 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.313, allocations: 3.012 MB / 391.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.313, allocations: 2.047 kB / 391.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.3143, allocations: 0.8623 MB / 392.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.3148, allocations: 276.9 kB / 392.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3149, allocations: 13.08 kB / 392.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.3152, allocations: 18.31 kB / 392.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.3153, allocations: 38.09 kB / 393 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.3153, allocations: 19.17 kB / 393 MB, free: 14.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007547/0.3161, allocations: 0.6157 MB / 393.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3161, allocations: 0 / 393.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.317, allocations: 226.4 kB / 393.8 MB, free: 14.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005149/0.3175, allocations: 290.5 kB / 394.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3186, allocations: 0.7825 MB / 394.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3186, allocations: 0 / 394.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000629/0.3192, allocations: 0.619 MB / 395.5 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3197, allocations: 106.3 kB / 395.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.3218, allocations: 1.864 MB / 397.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.3224, allocations: 1.019 MB / 398.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.3227, allocations: 98 kB / 398.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.3228, allocations: 45.94 kB / 398.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3228, allocations: 0 / 398.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Templates: time 0.01457/0.3374, allocations: 7.951 MB / 406.6 MB, free: 8.168 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches