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.001358/0.001358, allocations: 82.92 kB / 21.99 MB, free: 4.758 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.001427/0.001427, allocations: 157.4 kB / 25.25 MB, free: 2.738 MB / 14.72 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.309/1.309, allocations: 158.6 MB / 187 MB, free: 6.363 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 52.39 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2047, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005535/0.2103, allocations: 3.86 MB / 352.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.213, allocations: 1.601 MB / 354 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.2132, allocations: 12 kB / 354 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.2156, allocations: 0.9957 MB / 355 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.2161, allocations: 246.2 kB / 355.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.2176, allocations: 0.7124 MB / 355.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.2183, allocations: 0.6377 MB / 356.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007319/0.219, allocations: 477.2 kB / 357 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.2194, allocations: 275 kB / 357.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.2198, allocations: 326.5 kB / 357.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.2199, allocations: 56 kB / 357.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.2204, allocations: 255.8 kB / 357.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.2205, allocations: 143.5 kB / 358.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2208, allocations: 270.7 kB / 358.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2219, allocations: 0.9558 MB / 359.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2219, allocations: 0 / 359.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2219, allocations: 0 / 359.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2219, allocations: 0 / 359.3 MB, free: 4.695 MB / 318.1 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.003802/0.2257, allocations: 1.203 MB / 360.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2257, allocations: 11.98 kB / 360.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.2272, allocations: 208.3 kB / 360.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.2274, allocations: 185.6 kB / 360.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.2275, allocations: 58.38 kB / 361 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2276, allocations: 76.36 kB / 361 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2291, allocations: 0.7953 MB / 361.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.2291, allocations: 11.89 kB / 361.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.2292, allocations: 28 kB / 361.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.2292, allocations: 20 kB / 361.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.2307, allocations: 0.6571 MB / 362.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.2347, allocations: 2.181 MB / 364.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.2367, allocations: 0.8076 MB / 365.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006752/0.2374, allocations: 291.8 kB / 365.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.871e-05/0.2374, allocations: 24.58 kB / 365.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2375, allocations: 39.22 kB / 365.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.2375, allocations: 0 / 365.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002732/0.2402, allocations: 0.9755 MB / 366.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.2403, allocations: 119.4 kB / 367 MB, free: 12.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.2406, allocations: 265.5 kB / 367.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.2406, allocations: 33.7 kB / 367.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2409, allocations: 308.3 kB / 367.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.2411, allocations: 258 kB / 367.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.2413, allocations: 142.6 kB / 367.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2415, allocations: 358.7 kB / 368.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.242, allocations: 225.9 kB / 368.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.2428, allocations: 416 kB / 368.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.244, allocations: 0.6337 MB / 369.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.244, allocations: 4 kB / 369.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001733/0.2458, allocations: 0.8266 MB / 370.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2458, allocations: 8 kB / 370.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2458, allocations: 4 kB / 370.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.2462, allocations: 125.9 kB / 370.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.2469, allocations: 155.8 kB / 370.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.2505, allocations: 3.513 MB / 374.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.251, allocations: 91.55 kB / 374.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.2511, allocations: 31.94 kB / 374.3 MB, free: 5.07 MB / 334.1 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.0002998/0.2514, allocations: 201.7 kB / 374.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2515, allocations: 43.72 kB / 374.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.2532, allocations: 0.7375 MB / 375.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2532, allocations: 12 kB / 375.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2532, allocations: 4 kB / 375.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.2532, allocations: 3.984 kB / 375.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.2558, allocations: 1.286 MB / 376.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2558, allocations: 0 / 376.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.2563, allocations: 111.9 kB / 376.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.2566, allocations: 113.6 kB / 376.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.2567, allocations: 16 kB / 376.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.2597, allocations: 3.081 MB / 379.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2597, allocations: 3.938 kB / 379.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.2618, allocations: 1.113 MB / 381 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.2618, allocations: 59.61 kB / 381.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.2619, allocations: 12 kB / 381.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.2623, allocations: 31.98 kB / 381.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2624, allocations: 56.48 kB / 381.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.2625, allocations: 23.98 kB / 381.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.2627, allocations: 181.2 kB / 381.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2627, allocations: 0 / 381.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008388/0.2635, allocations: 215.6 kB / 381.6 MB, free: 13.48 MB / 350.1 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.0002591/0.2638, allocations: 155 kB / 381.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.2655, allocations: 0.841 MB / 382.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2655, allocations: 0 / 382.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.2664, allocations: 0.536 MB / 383.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.2669, allocations: 40.44 kB / 383.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.2691, allocations: 1.129 MB / 384.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2694, allocations: 269.5 kB / 384.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.2697, allocations: 76.33 kB / 384.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2698, allocations: 48.48 kB / 384.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2698, allocations: 0 / 384.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Templates: time 0.0131/0.2829, allocations: 5.971 MB / 390.6 MB, free: 4.297 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.492950773914345]