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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, allocations: 112.9 kB / 19.17 MB, free: 3.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002164, allocations: 206.5 kB / 22.13 MB, free: 0.9336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.91 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09666, allocations: 53.33 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1896/0.2862, allocations: 5.209 MB / 433 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007084/0.2933, allocations: 6.7 MB / 439.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.2939, allocations: 40.91 kB / 439.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2953, allocations: 0.4969 MB / 440.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.2978, allocations: 0.8231 MB / 441.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2992, allocations: 442.2 kB / 441.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.3026, allocations: 2.047 MB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.3028, allocations: 102.8 kB / 443.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.3035, allocations: 379.1 kB / 444 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.304, allocations: 348.4 kB / 444.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.304, allocations: 29.78 kB / 444.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3056, allocations: 0.4915 MB / 444.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3058, allocations: 108.2 kB / 445 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.3061, allocations: 450.2 kB / 445.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3081, allocations: 1.289 MB / 446.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3081, allocations: 0 / 446.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3081, allocations: 0 / 446.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.3082, allocations: 0 / 446.7 MB, free: 2.285 MB / 350.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.001985/0.3101, allocations: 1.49 MB / 448.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3102, allocations: 17.31 kB / 448.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.3105, allocations: 151 kB / 448.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3116, allocations: 0.8574 MB / 449.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3116, allocations: 18.38 kB / 449.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.3116, allocations: 27.03 kB / 449.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.3122, allocations: 312.3 kB / 449.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3122, allocations: 0 / 449.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3122, allocations: 13.78 kB / 449.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3122, allocations: 10 kB / 449.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.3126, allocations: 222.5 kB / 449.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.3145, allocations: 1.117 MB / 451 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.3149, allocations: 223 kB / 451.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.3154, allocations: 264.6 kB / 451.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.3165, allocations: 0.8313 MB / 452.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3166, allocations: 39.09 kB / 452.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.234e-06/0.3166, allocations: 0 / 452.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003394/0.32, allocations: 1.558 MB / 453.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.3201, allocations: 121.9 kB / 454 MB, free: 13.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.3213, allocations: 0.9359 MB / 454.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.3214, allocations: 31.67 kB / 454.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.3217, allocations: 358.3 kB / 455.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3218, allocations: 137.5 kB / 455.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.3221, allocations: 118.9 kB / 455.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3222, allocations: 322.9 kB / 455.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3225, allocations: 120.5 kB / 456 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.3228, allocations: 163.2 kB / 456.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.3243, allocations: 0.727 MB / 456.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3243, allocations: 3.938 kB / 456.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001065/0.3254, allocations: 0.5583 MB / 457.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.3254, allocations: 36.78 kB / 457.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.3255, allocations: 15.55 kB / 457.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/0.3257, allocations: 71.86 kB / 457.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.3259, allocations: 45.14 kB / 457.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.3289, allocations: 3.338 MB / 460.9 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.3295, allocations: 12.08 kB / 460.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.3296, allocations: 23.67 kB / 461 MB, free: 8.086 MB / 366.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.0004799/0.33, allocations: 256.9 kB / 461.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.3302, allocations: 130.3 kB / 461.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.3317, allocations: 0.6725 MB / 462 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3317, allocations: 2.938 kB / 462 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3317, allocations: 3.188 kB / 462 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3317, allocations: 5.016 kB / 462 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3327, allocations: 0.6138 MB / 462.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.3327, allocations: 17.94 kB / 462.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.333, allocations: 34.12 kB / 462.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.3332, allocations: 72.73 kB / 462.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.3332, allocations: 15.17 kB / 462.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.3361, allocations: 3.332 MB / 466.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3361, allocations: 3.938 kB / 466.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3377, allocations: 0.85 MB / 467 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/0.3382, allocations: 275.1 kB / 467.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3383, allocations: 12.08 kB / 467.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.3386, allocations: 12.47 kB / 467.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3387, allocations: 36.17 kB / 467.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.3388, allocations: 20.62 kB / 467.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009646/0.3397, allocations: 0.6324 MB / 467.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3397, allocations: 0 / 467.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001025/0.3408, allocations: 227.2 kB / 468.2 MB, free: 2.812 MB / 366.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.0006551/0.3414, allocations: 315.5 kB / 468.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.3427, allocations: 0.7437 MB / 469.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3427, allocations: 1.344 kB / 469.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.3435, allocations: 0.5909 MB / 469.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.3443, allocations: 118.4 kB / 469.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.3469, allocations: 1.644 MB / 471.6 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.3475, allocations: 1.005 MB / 472.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3477, allocations: 50.77 kB / 472.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3477, allocations: 0 / 472.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02605/0.3737, allocations: 17.46 MB / 490.1 MB, free: 1.129 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.578924877103418]