Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001853/0.001853, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002301/0.002301, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 54.77 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08703, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005453/0.09248, allocations: 3.926 MB / 382.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.09517, allocations: 1.627 MB / 384.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.09537, allocations: 12 kB / 384.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.09773, allocations: 0.9918 MB / 385.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.09828, allocations: 254.1 kB / 385.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.09983, allocations: 0.7278 MB / 386.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.1005, allocations: 0.6338 MB / 387.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006881/0.1012, allocations: 465.3 kB / 387.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.1015, allocations: 282.9 kB / 387.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.102, allocations: 314.6 kB / 388.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.102, allocations: 56 kB / 388.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.1025, allocations: 275.7 kB / 388.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1027, allocations: 139.5 kB / 388.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.1029, allocations: 266.7 kB / 388.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.104, allocations: 0.9806 MB / 389.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.104, allocations: 3.984 kB / 389.8 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.104, allocations: 7.938 kB / 389.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.104, allocations: 0 / 389.8 MB, free: 4.715 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.003682/0.1077, allocations: 1.207 MB / 391 MB, free: 3.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1077, allocations: 8.031 kB / 391 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1091, allocations: 204.4 kB / 391.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1094, allocations: 185.7 kB / 391.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/0.1094, allocations: 54.38 kB / 391.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1095, allocations: 72.38 kB / 391.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.1109, allocations: 0.7991 MB / 392.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.1109, allocations: 3.953 kB / 392.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/0.111, allocations: 32 kB / 392.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.111, allocations: 16 kB / 392.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1124, allocations: 0.661 MB / 393.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.1162, allocations: 2.2 MB / 395.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.118, allocations: 0.8209 MB / 396.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.1186, allocations: 295.4 kB / 396.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.1187, allocations: 32.62 kB / 396.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.1188, allocations: 43.22 kB / 396.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.134e-06/0.1188, allocations: 0 / 396.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002565/0.1213, allocations: 0.9794 MB / 397.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.1214, allocations: 111.5 kB / 397.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1217, allocations: 265.5 kB / 397.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.1217, allocations: 41.73 kB / 397.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1219, allocations: 312.3 kB / 398.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.1221, allocations: 249.8 kB / 398.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.1223, allocations: 138.6 kB / 398.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1225, allocations: 350.7 kB / 398.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.123, allocations: 229.9 kB / 399.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.1237, allocations: 412 kB / 399.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1248, allocations: 0.6376 MB / 400.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1248, allocations: 0 / 400.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001646/0.1265, allocations: 0.8463 MB / 401 MB, free: 9.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1265, allocations: 8.219 kB / 401 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1265, allocations: 4 kB / 401 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.1269, allocations: 125.7 kB / 401.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.1276, allocations: 163.7 kB / 401.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.131, allocations: 3.505 MB / 404.8 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.1314, allocations: 83.44 kB / 404.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.1315, allocations: 35.94 kB / 404.9 MB, free: 5.043 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.0002492/0.1318, allocations: 201.6 kB / 405.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1319, allocations: 35.77 kB / 405.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.1335, allocations: 0.7454 MB / 405.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1335, allocations: 8 kB / 405.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1335, allocations: 0 / 405.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.1335, allocations: 11.98 kB / 405.9 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.1359, allocations: 1.289 MB / 407.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1359, allocations: 0 / 407.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.1364, allocations: 119.8 kB / 407.3 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.1367, allocations: 114.1 kB / 407.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.1367, allocations: 12 kB / 407.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.1396, allocations: 3.077 MB / 410.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1396, allocations: 0 / 410.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.1417, allocations: 1.117 MB / 411.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.1417, allocations: 51.59 kB / 411.7 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.1418, allocations: 15.95 kB / 411.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.1422, allocations: 32.03 kB / 411.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1423, allocations: 56.5 kB / 411.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.1423, allocations: 23.98 kB / 411.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1425, allocations: 181.2 kB / 412 MB, free: 13.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1425, allocations: 0 / 412 MB, free: 13.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000751/0.1433, allocations: 215.6 kB / 412.2 MB, free: 13.45 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.0002546/0.1435, allocations: 151.1 kB / 412.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1451, allocations: 0.8491 MB / 413.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1451, allocations: 4.062 kB / 413.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000842/0.146, allocations: 0.5436 MB / 413.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.1465, allocations: 40.44 kB / 413.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1485, allocations: 1.09 MB / 414.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1487, allocations: 269.5 kB / 415.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.149, allocations: 72.33 kB / 415.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1492, allocations: 56.42 kB / 415.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1492, allocations: 4 kB / 415.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01266/0.1618, allocations: 6.153 MB / 421.4 MB, free: 4.184 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.493152921902947]