Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 374.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.198/0.3029, allocations: 5.223 MB / 432.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007197/0.3101, allocations: 6.699 MB / 439.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.3109, allocations: 65 kB / 439.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.3123, allocations: 0.498 MB / 440 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.315, allocations: 0.8142 MB / 440.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3164, allocations: 446.5 kB / 441.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003028/0.3194, allocations: 2.045 MB / 443.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.3196, allocations: 102.1 kB / 443.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005795/0.3202, allocations: 396.5 kB / 443.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.3205, allocations: 340.2 kB / 444.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.3206, allocations: 33.25 kB / 444.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.322, allocations: 0.4957 MB / 444.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3221, allocations: 104.5 kB / 444.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.3224, allocations: 446.5 kB / 445.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.3241, allocations: 1.288 MB / 446.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3241, allocations: 0 / 446.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3241, allocations: 1.062 kB / 446.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.3242, allocations: 0 / 446.4 MB, free: 2.203 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.002/0.3262, allocations: 1.491 MB / 447.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3262, allocations: 9.25 kB / 447.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.3265, allocations: 156 kB / 448.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.3276, allocations: 0.8678 MB / 448.9 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3276, allocations: 16.27 kB / 449 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.3276, allocations: 28.17 kB / 449 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.3281, allocations: 309.2 kB / 449.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3281, allocations: 0 / 449.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.3282, allocations: 10.38 kB / 449.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3282, allocations: 7.469 kB / 449.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.3286, allocations: 227 kB / 449.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.3304, allocations: 1.113 MB / 450.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.3308, allocations: 213.1 kB / 450.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.3313, allocations: 272.7 kB / 451.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.3324, allocations: 0.8388 MB / 452 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3325, allocations: 36.75 kB / 452 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/0.3325, allocations: 0 / 452 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003229/0.3357, allocations: 1.559 MB / 453.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.3358, allocations: 118.8 kB / 453.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3371, allocations: 0.9348 MB / 454.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.3371, allocations: 33.27 kB / 454.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.3374, allocations: 361.1 kB / 455 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.3376, allocations: 138.2 kB / 455.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3378, allocations: 118.5 kB / 455.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3379, allocations: 321.3 kB / 455.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3382, allocations: 122 kB / 455.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.3385, allocations: 160 kB / 455.8 MB, free: 12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.34, allocations: 0.7307 MB / 456.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.34, allocations: 0 / 456.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001051/0.341, allocations: 0.564 MB / 457.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.3411, allocations: 40.56 kB / 457.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.3411, allocations: 12.86 kB / 457.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.3414, allocations: 67.36 kB / 457.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.3416, allocations: 49.39 kB / 457.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.3446, allocations: 3.33 MB / 460.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.3451, allocations: 12.02 kB / 460.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.3452, allocations: 22.23 kB / 460.6 MB, free: 8.004 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.000508/0.3457, allocations: 253.8 kB / 460.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.3458, allocations: 130.7 kB / 461 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.3472, allocations: 0.6683 MB / 461.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3472, allocations: 3.219 kB / 461.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3472, allocations: 5.031 kB / 461.7 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3473, allocations: 3.047 kB / 461.7 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000914/0.3482, allocations: 0.6152 MB / 462.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.3482, allocations: 15.47 kB / 462.3 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3484, allocations: 36.12 kB / 462.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.3486, allocations: 69.48 kB / 462.4 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.3486, allocations: 19.69 kB / 462.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.3514, allocations: 3.337 MB / 465.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3514, allocations: 0 / 465.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.3528, allocations: 0.8577 MB / 466.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.3532, allocations: 275.6 kB / 466.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.3533, allocations: 6.469 kB / 466.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3535, allocations: 12.92 kB / 466.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3536, allocations: 40.61 kB / 467 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.3537, allocations: 15.78 kB / 467 MB, free: 3.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008238/0.3545, allocations: 0.6323 MB / 467.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3545, allocations: 0 / 467.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009209/0.3554, allocations: 227 kB / 467.8 MB, free: 2.68 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.00058/0.356, allocations: 311.1 kB / 468.2 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3572, allocations: 0.7482 MB / 468.9 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3572, allocations: 0 / 468.9 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.3579, allocations: 0.5834 MB / 469.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.3585, allocations: 121.2 kB / 469.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.361, allocations: 1.643 MB / 471.2 MB, free: 264 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.3617, allocations: 0.9971 MB / 472.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3618, allocations: 58.86 kB / 472.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3618, allocations: 3.938 kB / 472.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02515/0.3869, allocations: 17.47 MB / 489.8 MB, free: 0.9453 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.389924860995961]