Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 76.59 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 156 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.22 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.08452, allocations: 52.17 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005558/0.09008, allocations: 3.929 MB / 375.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.09263, allocations: 1.541 MB / 377.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.0928, allocations: 12 kB / 377.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.09519, allocations: 0.9918 MB / 378.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.09569, allocations: 254.2 kB / 378.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.09729, allocations: 0.7505 MB / 379.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.09795, allocations: 0.6413 MB / 379.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000715/0.09866, allocations: 461.4 kB / 380.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.099, allocations: 278.9 kB / 380.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.09944, allocations: 322.5 kB / 380.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.475e-05/0.09953, allocations: 56 kB / 380.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.09999, allocations: 259.7 kB / 381 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1001, allocations: 143.5 kB / 381.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.1004, allocations: 262.8 kB / 381.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1015, allocations: 0.9689 MB / 382.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1015, allocations: 3.984 kB / 382.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1015, allocations: 4 kB / 382.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.1015, allocations: 0 / 382.4 MB, free: 12.47 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003746/0.1052, allocations: 1.192 MB / 383.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1053, allocations: 16.92 kB / 383.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.1067, allocations: 208.3 kB / 383.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1069, allocations: 181.7 kB / 384 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.107, allocations: 58.38 kB / 384.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.1071, allocations: 72.38 kB / 384.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.1086, allocations: 0.7953 MB / 384.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.1086, allocations: 3.938 kB / 384.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.1087, allocations: 32 kB / 385 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1087, allocations: 16 kB / 385 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1102, allocations: 0.661 MB / 385.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.1139, allocations: 2.181 MB / 387.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1158, allocations: 0.8126 MB / 388.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/0.1165, allocations: 279.8 kB / 388.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.657e-05/0.1166, allocations: 32.58 kB / 388.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1166, allocations: 39.22 kB / 389 MB, free: 5.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.124e-06/0.1166, allocations: 0 / 389 MB, free: 5.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002681/0.1193, allocations: 0.9793 MB / 390 MB, free: 4.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.1194, allocations: 119.4 kB / 390.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1196, allocations: 261.5 kB / 390.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.1197, allocations: 41.7 kB / 390.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1199, allocations: 308.3 kB / 390.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.1201, allocations: 253.8 kB / 390.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.1203, allocations: 138.6 kB / 391.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1205, allocations: 350.7 kB / 391.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.121, allocations: 229.9 kB / 391.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.1217, allocations: 412 kB / 392 MB, free: 2.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.123, allocations: 0.6337 MB / 392.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.123, allocations: 0 / 392.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001726/0.1247, allocations: 0.8346 MB / 393.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1247, allocations: 8 kB / 393.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1247, allocations: 7.984 kB / 393.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.1251, allocations: 129.7 kB / 393.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.1258, allocations: 151.8 kB / 393.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.1294, allocations: 3.521 MB / 397.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.13, allocations: 91.38 kB / 397.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.13, allocations: 39.92 kB / 397.4 MB, free: 12.85 MB / 366.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.0002812/0.1303, allocations: 194 kB / 397.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1304, allocations: 39.77 kB / 397.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.1321, allocations: 0.7491 MB / 398.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1321, allocations: 8 kB / 398.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1321, allocations: 4 kB / 398.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1321, allocations: 3.984 kB / 398.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.1346, allocations: 1.29 MB / 399.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1346, allocations: 0 / 399.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.1351, allocations: 111.9 kB / 399.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.1354, allocations: 113.6 kB / 399.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.1354, allocations: 15.98 kB / 400 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/0.1384, allocations: 3.077 MB / 403 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1384, allocations: 0 / 403 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.1405, allocations: 1.117 MB / 404.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.1406, allocations: 47.66 kB / 404.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.1406, allocations: 15.98 kB / 404.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.1411, allocations: 31.97 kB / 404.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.1412, allocations: 60.55 kB / 404.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.1412, allocations: 20 kB / 404.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1414, allocations: 177.2 kB / 404.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1414, allocations: 0 / 404.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008378/0.1422, allocations: 219.6 kB / 404.7 MB, free: 5.27 MB / 366.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.0002545/0.1425, allocations: 147.1 kB / 404.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.1442, allocations: 0.8522 MB / 405.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1442, allocations: 0.9375 kB / 405.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.145, allocations: 0.5322 MB / 406.2 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.1455, allocations: 51.88 kB / 406.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1476, allocations: 1.125 MB / 407.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1479, allocations: 261.5 kB / 407.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003238/0.1482, allocations: 80.33 kB / 407.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1483, allocations: 44.48 kB / 407.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1483, allocations: 0 / 407.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of Templates: time 0.01247/0.1608, allocations: 5.997 MB / 413.8 MB, free: 12.15 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.375523127964698]