Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 75.75 kB / 21.25 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 165.4 kB / 24.5 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 58.98 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.09123, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005841/0.09707, allocations: 3.934 MB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1001, allocations: 1.623 MB / 384.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.1004, allocations: 12 kB / 384.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.1029, allocations: 0.9918 MB / 385.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007008/0.1036, allocations: 254.1 kB / 385.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1053, allocations: 0.7356 MB / 386.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.106, allocations: 0.6299 MB / 387.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.1068, allocations: 465.3 kB / 387.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/0.1072, allocations: 279 kB / 387.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004795/0.1077, allocations: 326.5 kB / 388.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.384e-05/0.1078, allocations: 60 kB / 388.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.1083, allocations: 271.8 kB / 388.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1085, allocations: 139.4 kB / 388.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1087, allocations: 270.7 kB / 388.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1098, allocations: 0.9768 MB / 389.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1098, allocations: 0 / 389.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1098, allocations: 0 / 389.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1099, allocations: 0 / 389.8 MB, free: 4.473 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.003742/0.1136, allocations: 1.219 MB / 391.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1136, allocations: 11.98 kB / 391.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.1151, allocations: 200.4 kB / 391.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1153, allocations: 179.7 kB / 391.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.109e-05/0.1153, allocations: 54.38 kB / 391.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1154, allocations: 72.38 kB / 391.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1168, allocations: 0.803 MB / 392.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.1169, allocations: 7.938 kB / 392.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1169, allocations: 32 kB / 392.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.117, allocations: 16 kB / 392.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.1184, allocations: 0.6571 MB / 393.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.1224, allocations: 2.2 MB / 395.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.1244, allocations: 0.8198 MB / 396.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.125, allocations: 292.1 kB / 396.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.997e-05/0.1251, allocations: 32.62 kB / 396.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1252, allocations: 39.22 kB / 396.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.1252, allocations: 0 / 396.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002638/0.1278, allocations: 0.9873 MB / 397.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.1279, allocations: 111.5 kB / 397.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.1282, allocations: 265.5 kB / 397.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.1282, allocations: 41.7 kB / 397.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1284, allocations: 308.3 kB / 398.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.1286, allocations: 253.8 kB / 398.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.1289, allocations: 134.6 kB / 398.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.129, allocations: 350.7 kB / 398.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.1295, allocations: 233.9 kB / 399.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.1302, allocations: 415.9 kB / 399.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1314, allocations: 0.6376 MB / 400.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1314, allocations: 0 / 400.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001653/0.133, allocations: 0.8345 MB / 401 MB, free: 8.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1331, allocations: 8 kB / 401 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1331, allocations: 4 kB / 401 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.1335, allocations: 129.8 kB / 401.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.1341, allocations: 155.7 kB / 401.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.1376, allocations: 3.512 MB / 404.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.1381, allocations: 79.58 kB / 404.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.1382, allocations: 43.92 kB / 404.9 MB, free: 4.801 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.000264/0.1385, allocations: 205.5 kB / 405.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1386, allocations: 35.77 kB / 405.1 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.1402, allocations: 0.7414 MB / 405.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.1402, allocations: 8 kB / 405.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1402, allocations: 0 / 405.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.1402, allocations: 7.984 kB / 405.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.1427, allocations: 1.293 MB / 407.2 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1427, allocations: 0 / 407.2 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.1433, allocations: 115.8 kB / 407.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.1436, allocations: 113.6 kB / 407.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.1436, allocations: 12 kB / 407.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.1465, allocations: 3.081 MB / 410.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1465, allocations: 0 / 410.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.1486, allocations: 1.121 MB / 411.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.1487, allocations: 51.59 kB / 411.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.1487, allocations: 15.95 kB / 411.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.1491, allocations: 23.98 kB / 411.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.1492, allocations: 60.48 kB / 411.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.1493, allocations: 23.98 kB / 411.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1495, allocations: 181.2 kB / 412 MB, free: 13.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1495, allocations: 4.062 kB / 412 MB, free: 13.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007685/0.1502, allocations: 215.6 kB / 412.2 MB, free: 13.21 MB / 382.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.000269/0.1505, allocations: 151 kB / 412.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.1521, allocations: 0.8523 MB / 413.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1521, allocations: 0 / 413.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.1529, allocations: 0.5367 MB / 413.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.1534, allocations: 44.42 kB / 413.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1555, allocations: 1.086 MB / 414.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1558, allocations: 261.5 kB / 415.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.1561, allocations: 84.31 kB / 415.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1562, allocations: 52.48 kB / 415.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1562, allocations: 0 / 415.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of Templates: time 0.01322/0.1694, allocations: 6.146 MB / 421.4 MB, free: 3.957 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.539170928997919]