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.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.001481/0.001481, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001487/0.001487, allocations: 168.4 kB / 25.03 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.736e-05, allocations: 10.25 kB / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006692/0.00672, allocations: 4.583 MB / 254.9 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.01639, allocations: 5.764 MB / 260.7 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.01706, allocations: 63.38 kB / 260.8 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.0184, allocations: 476.6 kB / 261.2 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.0208, allocations: 0.8455 MB / 262.1 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.02204, allocations: 438.2 kB / 262.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.02581, allocations: 2.043 MB / 264.5 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.02609, allocations: 99.19 kB / 264.6 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007888/0.02688, allocations: 0.5064 MB / 265.1 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.02727, allocations: 227.2 kB / 265.4 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.02734, allocations: 28 kB / 265.4 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.02838, allocations: 447.5 kB / 265.8 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.02851, allocations: 111.2 kB / 265.9 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.02883, allocations: 235.2 kB / 266.2 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.03054, allocations: 1.296 MB / 267.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.03054, allocations: 0 / 267.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.03055, allocations: 4 kB / 267.5 MB, free: 2.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.03056, allocations: 0 / 267.5 MB, free: 2.746 MB / 250.7 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.002156/0.03271, allocations: 1.396 MB / 268.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.03275, allocations: 11.98 kB / 268.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.03299, allocations: 155 kB / 269 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.03432, allocations: 0.846 MB / 269.9 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.03434, allocations: 20.44 kB / 269.9 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.03441, allocations: 23.95 kB / 269.9 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.03509, allocations: 371.2 kB / 270.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.03511, allocations: 0 / 270.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.03515, allocations: 12 kB / 270.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.03516, allocations: 4 kB / 270.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.03567, allocations: 263.7 kB / 270.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.03788, allocations: 0.9627 MB / 271.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.03838, allocations: 256.1 kB / 271.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.03897, allocations: 300.8 kB / 272.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/0.03973, allocations: 177.5 kB / 272.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.03977, allocations: 34.56 kB / 272.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.813e-06/0.03977, allocations: 0 / 272.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.003541/0.04331, allocations: 1.506 MB / 273.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.04341, allocations: 110.8 kB / 273.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.0447, allocations: 0.9301 MB / 274.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.04474, allocations: 33.7 kB / 274.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.04511, allocations: 357.7 kB / 275.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.04526, allocations: 138.8 kB / 275.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.04546, allocations: 113.7 kB / 275.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.04565, allocations: 322 kB / 275.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.04597, allocations: 154.3 kB / 275.9 MB, free: 9.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.04633, allocations: 227.2 kB / 276.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.04795, allocations: 0.745 MB / 276.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.04795, allocations: 0 / 276.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001179/0.04913, allocations: 0.6223 MB / 277.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.04919, allocations: 41.69 kB / 277.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.04923, allocations: 15.94 kB / 277.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.04952, allocations: 69.69 kB / 277.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.04978, allocations: 47.91 kB / 277.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.05324, allocations: 3.071 MB / 280.7 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.05356, allocations: 12.03 kB / 280.7 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.05363, allocations: 24.11 kB / 280.8 MB, free: 4.84 MB / 266.7 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.0004838/0.05411, allocations: 252 kB / 281 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.05432, allocations: 143.2 kB / 281.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.05583, allocations: 0.7133 MB / 281.9 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.05584, allocations: 4 kB / 281.9 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.05584, allocations: 3.938 kB / 281.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.05585, allocations: 0 / 281.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.0566, allocations: 0.4968 MB / 282.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/0.05663, allocations: 19.98 kB / 282.4 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.05683, allocations: 31.92 kB / 282.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/0.05708, allocations: 73.67 kB / 282.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.05712, allocations: 19.98 kB / 282.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.06043, allocations: 3.087 MB / 285.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.06043, allocations: 0 / 285.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.0621, allocations: 0.941 MB / 286.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.06254, allocations: 228.9 kB / 286.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.06264, allocations: 12.12 kB / 286.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.06293, allocations: 8 kB / 286.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.06305, allocations: 31.95 kB / 286.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.0631, allocations: 19.98 kB / 286.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009267/0.06403, allocations: 0.6295 MB / 287.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06403, allocations: 0 / 287.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009084/0.06493, allocations: 219.6 kB / 287.7 MB, free: 13.6 MB / 282.7 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.000694/0.06563, allocations: 334.5 kB / 288 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.06699, allocations: 0.8122 MB / 288.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.067, allocations: 0 / 288.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.06784, allocations: 0.6259 MB / 289.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.06842, allocations: 108.9 kB / 289.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.071, allocations: 1.612 MB / 291.2 MB, free: 9.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.07147, allocations: 408.8 kB / 291.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.07176, allocations: 97.62 kB / 291.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.07186, allocations: 48.5 kB / 291.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.07186, allocations: 0 / 291.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of Templates: time 0.02717/0.09903, allocations: 9.024 MB / 300.7 MB, free: 340 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.876860474003479]