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.001457/0.001457, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.001776/0.001776, allocations: 212.2 kB / 24.53 MB, free: 4.062 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.333/1.333, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 51.94 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00558/0.2151, allocations: 4.381 MB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.2175, allocations: 1.748 MB / 438.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.2177, allocations: 12 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.2198, allocations: 1.03 MB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.2202, allocations: 254.2 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2216, allocations: 0.7858 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.2222, allocations: 0.6338 MB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.2229, allocations: 470.6 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.2232, allocations: 286.9 kB / 441.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.2236, allocations: 354.5 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.2237, allocations: 56 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.2241, allocations: 291.7 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2243, allocations: 135.5 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.2245, allocations: 334.3 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2256, allocations: 0.9803 MB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2256, allocations: 4 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2256, allocations: 0 / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2256, allocations: 0 / 443.6 MB, free: 11.11 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.003371/0.2289, allocations: 1.215 MB / 444.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.229, allocations: 8.031 kB / 444.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.809e-05/0.229, allocations: 22.19 kB / 444.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.2291, allocations: 114.8 kB / 445 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.2304, allocations: 196.4 kB / 445.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.2306, allocations: 191.3 kB / 445.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.2307, allocations: 58.38 kB / 445.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2308, allocations: 72.38 kB / 445.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2321, allocations: 0.7698 MB / 446.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.2321, allocations: 3.938 kB / 446.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.624e-05/0.2322, allocations: 32 kB / 446.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2322, allocations: 16 kB / 446.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.2335, allocations: 0.6649 MB / 447 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/0.2375, allocations: 2.876 MB / 449.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.2393, allocations: 0.8236 MB / 450.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.2398, allocations: 296 kB / 451 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.2399, allocations: 36.53 kB / 451 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.24, allocations: 47.16 kB / 451.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.814e-06/0.24, allocations: 0 / 451.1 MB, free: 3.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002419/0.2424, allocations: 0.9794 MB / 452 MB, free: 2.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.2425, allocations: 115.3 kB / 452.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.2427, allocations: 277.8 kB / 452.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.2428, allocations: 37.7 kB / 452.5 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.243, allocations: 304.4 kB / 452.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.2432, allocations: 261.8 kB / 453 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.2434, allocations: 142.6 kB / 453.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2435, allocations: 350.7 kB / 453.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.244, allocations: 229.9 kB / 453.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.2446, allocations: 378.3 kB / 454.1 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.2457, allocations: 0.6415 MB / 454.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2457, allocations: 0 / 454.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001552/0.2473, allocations: 0.8344 MB / 455.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2473, allocations: 4 kB / 455.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2473, allocations: 4.281 kB / 455.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.2477, allocations: 125.6 kB / 455.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.2483, allocations: 159.8 kB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.2515, allocations: 3.586 MB / 459.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.252, allocations: 87.38 kB / 459.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.252, allocations: 35.98 kB / 459.6 MB, free: 10.45 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.0002373/0.2523, allocations: 197.8 kB / 459.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.83e-05/0.2524, allocations: 43.72 kB / 459.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.2539, allocations: 0.7413 MB / 460.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2539, allocations: 8 kB / 460.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2539, allocations: 4 kB / 460.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.2539, allocations: 7.922 kB / 460.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.2563, allocations: 1.461 MB / 462 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2563, allocations: 0 / 462 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.2567, allocations: 107.9 kB / 462.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.257, allocations: 113.6 kB / 462.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.2571, allocations: 16 kB / 462.2 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.2598, allocations: 3.142 MB / 465.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2598, allocations: 3.938 kB / 465.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.2616, allocations: 1.129 MB / 466.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.2617, allocations: 47.59 kB / 466.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.2618, allocations: 19.95 kB / 466.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2621, allocations: 27.98 kB / 466.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2622, allocations: 52.55 kB / 466.7 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.2623, allocations: 23.98 kB / 466.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.2625, allocations: 197.2 kB / 466.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2625, allocations: 0 / 466.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006947/0.2632, allocations: 219.6 kB / 467.1 MB, free: 2.566 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.002278/0.2654, allocations: 1.714 MB / 468.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.267, allocations: 0.8568 MB / 469.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.267, allocations: 4.125 kB / 469.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.2678, allocations: 0.532 MB / 470.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.2682, allocations: 44.48 kB / 470.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007122/0.2754, allocations: 4.74 MB / 475 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.2759, allocations: 0.8694 MB / 475.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.2762, allocations: 80.36 kB / 475.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.2765, allocations: 203.3 kB / 476.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2765, allocations: 0 / 476.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4191/0.6956, allocations: 11.48 MB / 487.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.14, allocations: 9.891 kB / 487.6 MB, free: 13.89 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 52.5] 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: 15.498829558026046]