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.001519/0.001519, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001676/0.001676, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.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.001493/0.001493, allocations: 47.92 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005749/0.2187, allocations: 4.371 MB / 436.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.2215, allocations: 1.752 MB / 438.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2217, allocations: 12 kB / 438.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.224, allocations: 1.034 MB / 439.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.2245, allocations: 266 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.2261, allocations: 0.7669 MB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.2267, allocations: 0.6338 MB / 441.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.2274, allocations: 469.1 kB / 441.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.2278, allocations: 282.9 kB / 442 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.2282, allocations: 358.5 kB / 442.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.555e-05/0.2283, allocations: 56 kB / 442.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.2288, allocations: 295.7 kB / 442.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.229, allocations: 139.5 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.2292, allocations: 326.4 kB / 443.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2304, allocations: 0.9753 MB / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2304, allocations: 0 / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2304, allocations: 0 / 444.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2304, allocations: 0 / 444.1 MB, free: 11.21 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.003518/0.2339, allocations: 1.215 MB / 445.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2339, allocations: 12.03 kB / 445.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.2352, allocations: 196.4 kB / 445.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2354, allocations: 195.2 kB / 445.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.2355, allocations: 54.38 kB / 445.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2356, allocations: 72.38 kB / 445.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.2369, allocations: 0.778 MB / 446.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.2369, allocations: 3.953 kB / 446.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.237, allocations: 31.94 kB / 446.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.237, allocations: 20 kB / 446.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2383, allocations: 0.661 MB / 447.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.2425, allocations: 2.872 MB / 450.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2444, allocations: 0.836 MB / 451 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/0.245, allocations: 287.5 kB / 451.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2451, allocations: 36.61 kB / 451.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.2451, allocations: 43.5 kB / 451.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.834e-06/0.2451, allocations: 0 / 451.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002492/0.2476, allocations: 0.9871 MB / 452.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.2477, allocations: 111.5 kB / 452.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.248, allocations: 273.8 kB / 452.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.248, allocations: 37.7 kB / 452.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2482, allocations: 300.6 kB / 453.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.2484, allocations: 257.8 kB / 453.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.2487, allocations: 142.5 kB / 453.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2488, allocations: 350.7 kB / 453.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.2493, allocations: 237.8 kB / 454 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.2499, allocations: 382.3 kB / 454.4 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2511, allocations: 0.6376 MB / 455 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2511, allocations: 4 kB / 455 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001583/0.2526, allocations: 0.8306 MB / 455.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2527, allocations: 8 kB / 455.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2527, allocations: 4 kB / 455.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.2531, allocations: 129.8 kB / 456 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.2537, allocations: 159.7 kB / 456.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.2572, allocations: 3.59 MB / 459.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.2577, allocations: 87.42 kB / 459.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.2578, allocations: 28 kB / 459.9 MB, free: 10.68 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.0002911/0.258, allocations: 201.8 kB / 460.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2582, allocations: 43.72 kB / 460.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.2597, allocations: 0.7375 MB / 460.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2597, allocations: 8 kB / 460.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2597, allocations: 7.938 kB / 460.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.2597, allocations: 7.984 kB / 460.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.2623, allocations: 1.464 MB / 462.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2623, allocations: 0 / 462.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.2628, allocations: 111.9 kB / 462.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.2631, allocations: 113.6 kB / 462.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.2631, allocations: 12 kB / 462.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.266, allocations: 3.138 MB / 465.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.266, allocations: 0 / 465.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.2679, allocations: 1.129 MB / 466.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.268, allocations: 51.61 kB / 466.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.2681, allocations: 12 kB / 466.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.2684, allocations: 27.98 kB / 466.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2685, allocations: 56.48 kB / 467 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.2686, allocations: 27.98 kB / 467 MB, free: 3.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.2688, allocations: 185.3 kB / 467.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2688, allocations: 4 kB / 467.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007621/0.2695, allocations: 223.6 kB / 467.4 MB, free: 2.801 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.0002634/0.2698, allocations: 155 kB / 467.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2714, allocations: 0.8522 MB / 468.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2714, allocations: 0 / 468.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007929/0.2722, allocations: 0.5407 MB / 469 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.2726, allocations: 42.31 kB / 469 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.2747, allocations: 1.136 MB / 470.1 MB, free: 0 / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.2752, allocations: 0.8655 MB / 471 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.2754, allocations: 55.42 kB / 471.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2754, allocations: 0 / 471.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0151/0.2905, allocations: 11.84 MB / 482.9 MB, free: 3.191 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 -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: 7.612386598950252]