Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.0009677/0.0009677, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001203/0.001203, allocations: 167.3 kB / 25.7 MB, free: 7.953 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 0.9313/0.9313, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.155e-05, allocations: 6.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003964/0.003985, allocations: 4.217 MB / 255.8 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.006568, allocations: 1.697 MB / 257.5 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.006793, allocations: 12 kB / 257.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.008084, allocations: 1.077 MB / 258.6 MB, free: 172 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.008567, allocations: 265.9 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/0.009511, allocations: 0.7121 MB / 259.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.009991, allocations: 0.6646 MB / 260.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.0105, allocations: 491.3 kB / 260.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.01085, allocations: 411 kB / 261.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.01114, allocations: 283.2 kB / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.0112, allocations: 56 kB / 261.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.01164, allocations: 267.6 kB / 261.7 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.01171, allocations: 139.4 kB / 261.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.01185, allocations: 223.4 kB / 262 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.01246, allocations: 0.6928 MB / 262.7 MB, free: 11.99 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.01247, allocations: 7.938 kB / 262.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01247, allocations: 3.938 kB / 262.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.01248, allocations: 0 / 262.7 MB, free: 11.98 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002167/0.01464, allocations: 1.218 MB / 264 MB, free: 10.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.01468, allocations: 11.98 kB / 264 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.01563, allocations: 364.3 kB / 264.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.01577, allocations: 184.9 kB / 264.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.01581, allocations: 58.38 kB / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.01589, allocations: 76.33 kB / 264.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.01647, allocations: 0.5734 MB / 265.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.01649, allocations: 4.172 kB / 265.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.01653, allocations: 36.38 kB / 265.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.01655, allocations: 19.94 kB / 265.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.01684, allocations: 229 kB / 265.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.01881, allocations: 1.778 MB / 267.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007573/0.01956, allocations: 0.6041 MB / 267.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.01975, allocations: 167.4 kB / 268 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/0.01982, allocations: 24.64 kB / 268.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.01985, allocations: 43.22 kB / 268.1 MB, free: 6.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.996e-06/0.01985, allocations: 0 / 268.1 MB, free: 6.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009011/0.02076, allocations: 0.55 MB / 268.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.0208, allocations: 111.5 kB / 268.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.02095, allocations: 244.8 kB / 269 MB, free: 5.465 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.02098, allocations: 33.7 kB / 269 MB, free: 5.426 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.0211, allocations: 300.3 kB / 269.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.02122, allocations: 253.7 kB / 269.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.02136, allocations: 138.5 kB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.02144, allocations: 354.8 kB / 270.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.02154, allocations: 77.95 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.02172, allocations: 271.9 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.02227, allocations: 376.8 kB / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02227, allocations: 0 / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004573/0.02273, allocations: 464.5 kB / 271.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.02275, allocations: 8 kB / 271.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.02276, allocations: 4.5 kB / 271.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.02312, allocations: 153.5 kB / 271.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.02344, allocations: 163.7 kB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.02504, allocations: 3.025 MB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.02526, allocations: 79.44 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.02529, allocations: 20 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.02543, allocations: 153.8 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.0255, allocations: 51.89 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.02596, allocations: 415.4 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02597, allocations: 8 kB / 275.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.02597, allocations: 7.938 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.02598, allocations: 7.984 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.02686, allocations: 0.7629 MB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02686, allocations: 0 / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.0271, allocations: 115.9 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.02746, allocations: 137.5 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.02751, allocations: 19.98 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.02903, allocations: 2.639 MB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02904, allocations: 7.938 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.02957, allocations: 0.6214 MB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.02961, allocations: 43.64 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.02964, allocations: 19.95 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.0298, allocations: 27.92 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.02987, allocations: 52.55 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.02989, allocations: 12 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.02996, allocations: 82.77 kB / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02996, allocations: 0 / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005002/0.03046, allocations: 215.6 kB / 280 MB, free: 9.836 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.03064, allocations: 128.3 kB / 280.2 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.03121, allocations: 0.6164 MB / 280.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.03122, allocations: 4 kB / 280.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.0315, allocations: 446.8 kB / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.03175, allocations: 44.42 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.03305, allocations: 0.999 MB / 282.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.03314, allocations: 136.8 kB / 282.4 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.03334, allocations: 84.31 kB / 282.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.0335, allocations: 115.4 kB / 282.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0335, allocations: 0 / 282.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Templates: time 0.009161/0.04266, allocations: 6.592 MB / 289.2 MB, free: 0.6055 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7091796756722033]