Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001397/0.001397, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001479/0.001479, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.793 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 47.92 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 53.36 MB / 431.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005393/0.2559, allocations: 3.798 MB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.2588, allocations: 1.619 MB / 437.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.259, allocations: 8 kB / 437.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.2612, allocations: 0.9405 MB / 438.2 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005479/0.2617, allocations: 254.2 kB / 438.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2633, allocations: 0.7085 MB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.2639, allocations: 0.6144 MB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006887/0.2646, allocations: 441.6 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.2649, allocations: 267 kB / 440.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.2653, allocations: 334.6 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.2654, allocations: 56 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.2659, allocations: 287.7 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2661, allocations: 131.5 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.2663, allocations: 254.8 kB / 441.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2674, allocations: 0.9456 MB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2674, allocations: 4 kB / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2674, allocations: 0 / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2674, allocations: 0 / 442.5 MB, free: 12.01 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003474/0.2709, allocations: 1.164 MB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2709, allocations: 12.03 kB / 443.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.832e-05/0.2709, allocations: 22.12 kB / 443.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.271, allocations: 114.7 kB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.2722, allocations: 180.4 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.2724, allocations: 174.5 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.2725, allocations: 46.38 kB / 444.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2726, allocations: 72.33 kB / 444.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.2739, allocations: 0.7402 MB / 445 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2739, allocations: 4 kB / 445 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.2739, allocations: 28 kB / 445 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.274, allocations: 16 kB / 445 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2752, allocations: 0.6023 MB / 445.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.2783, allocations: 1.868 MB / 447.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.2795, allocations: 0.6657 MB / 448.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.28, allocations: 245.7 kB / 448.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.2801, allocations: 28.64 kB / 448.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2802, allocations: 51.17 kB / 448.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.013e-06/0.2802, allocations: 0 / 448.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001494/0.2817, allocations: 0.7046 MB / 449.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.2817, allocations: 115.5 kB / 449.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.282, allocations: 264.8 kB / 449.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.2821, allocations: 33.7 kB / 449.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.2822, allocations: 268.7 kB / 449.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.2824, allocations: 241.9 kB / 450.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.2826, allocations: 114.8 kB / 450.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2828, allocations: 354.7 kB / 450.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.2833, allocations: 213.9 kB / 450.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.2838, allocations: 327.1 kB / 451.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.2847, allocations: 0.5224 MB / 451.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2847, allocations: 0 / 451.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001212/0.2859, allocations: 0.6338 MB / 452.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.286, allocations: 4 kB / 452.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.286, allocations: 4 kB / 452.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.286, allocations: 4 kB / 452.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.2867, allocations: 155.8 kB / 452.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.2867, allocations: 7.938 kB / 452.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.2871, allocations: 75.61 kB / 452.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.2872, allocations: 24 kB / 452.5 MB, free: 1.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.2874, allocations: 201.6 kB / 452.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.2875, allocations: 35.77 kB / 452.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2888, allocations: 0.5951 MB / 453.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2888, allocations: 8 kB / 453.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2888, allocations: 3.938 kB / 453.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2888, allocations: 7.984 kB / 453.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.2909, allocations: 1.19 MB / 454.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2909, allocations: 3.984 kB / 454.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.2915, allocations: 123.9 kB / 454.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.2915, allocations: 4 kB / 454.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.2915, allocations: 15.94 kB / 454.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.2915, allocations: 8 kB / 454.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2915, allocations: 0 / 454.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2932, allocations: 0.9823 MB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.2933, allocations: 51.58 kB / 455.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.2934, allocations: 15.94 kB / 455.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.2937, allocations: 32.03 kB / 455.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2939, allocations: 44.56 kB / 455.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.2939, allocations: 16 kB / 455.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.2941, allocations: 192.5 kB / 456 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2941, allocations: 0 / 456 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000619/0.2947, allocations: 187.5 kB / 456.2 MB, free: 13.89 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002138/0.2969, allocations: 1.572 MB / 457.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2979, allocations: 0.5091 MB / 458.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2979, allocations: 3.938 kB / 458.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.2984, allocations: 248 kB / 458.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.299, allocations: 48.36 kB / 458.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.3053, allocations: 4.195 MB / 462.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3056, allocations: 253 kB / 463 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.3059, allocations: 71.41 kB / 463.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.3062, allocations: 195.3 kB / 463.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3062, allocations: 0 / 463.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6831/0.9893, allocations: 10.1 MB / 473.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13, allocations: 8.062 kB / 473.4 MB, free: 12.75 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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: 16.24406099098269]