Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 188.5 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_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_0_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.001399/0.001399, allocations: 47.92 kB / 371.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.223, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00543/0.2284, allocations: 3.801 MB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.2309, allocations: 1.526 MB / 428.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.231, allocations: 16 kB / 428.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.2332, allocations: 0.9373 MB / 429.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.2337, allocations: 238.2 kB / 429.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.2352, allocations: 0.7495 MB / 430.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.2358, allocations: 0.6106 MB / 431.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006656/0.2365, allocations: 457.3 kB / 431.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.2368, allocations: 275 kB / 432 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.2373, allocations: 342.6 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.2373, allocations: 52 kB / 432.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.2378, allocations: 259.8 kB / 432.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2379, allocations: 139.5 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.2382, allocations: 254.8 kB / 433 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2392, allocations: 0.9223 MB / 433.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2392, allocations: 0 / 433.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2392, allocations: 4 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2392, allocations: 0 / 433.9 MB, free: 3.82 MB / 334.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.003484/0.2427, allocations: 1.145 MB / 435 MB, free: 2.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2427, allocations: 8.031 kB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.557e-05/0.2428, allocations: 22.12 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.2429, allocations: 110.7 kB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.244, allocations: 184.4 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2442, allocations: 178.5 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.2443, allocations: 54.38 kB / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2444, allocations: 60.38 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.2457, allocations: 0.7324 MB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2457, allocations: 7.938 kB / 436.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.2458, allocations: 32 kB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2458, allocations: 16 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2471, allocations: 0.5986 MB / 437 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.2504, allocations: 1.864 MB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.2517, allocations: 0.6621 MB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.2522, allocations: 259 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.2523, allocations: 12.66 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.2524, allocations: 43.2 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.2524, allocations: 0 / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001642/0.254, allocations: 0.7047 MB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.2541, allocations: 111.5 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.2544, allocations: 268.8 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.2544, allocations: 33.7 kB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.2546, allocations: 272.7 kB / 441.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.2548, allocations: 238 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.255, allocations: 118.6 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2552, allocations: 350.7 kB / 441.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.2557, allocations: 205.9 kB / 442.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.2562, allocations: 331.1 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.2573, allocations: 0.5185 MB / 443 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2573, allocations: 3.938 kB / 443 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001345/0.2586, allocations: 0.6298 MB / 443.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2587, allocations: 4 kB / 443.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2587, allocations: 8.188 kB / 443.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2587, allocations: 4 kB / 443.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.2594, allocations: 159.7 kB / 443.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2594, allocations: 4 kB / 443.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.2599, allocations: 75.53 kB / 443.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.2599, allocations: 20 kB / 443.9 MB, free: 9.523 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.0002303/0.2602, allocations: 189.7 kB / 444.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2603, allocations: 43.72 kB / 444.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.2616, allocations: 0.6068 MB / 444.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.2616, allocations: 4 kB / 444.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2616, allocations: 4 kB / 444.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.2616, allocations: 3.984 kB / 444.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.2637, allocations: 1.182 MB / 445.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2637, allocations: 3.984 kB / 445.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.2643, allocations: 127.8 kB / 446 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.2643, allocations: 7.984 kB / 446 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.2644, allocations: 19.94 kB / 446.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2644, allocations: 4 kB / 446.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2644, allocations: 0 / 446.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.2661, allocations: 0.9784 MB / 447 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.2662, allocations: 43.66 kB / 447.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/0.2662, allocations: 19.94 kB / 447.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.2666, allocations: 31.97 kB / 447.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.2667, allocations: 40.58 kB / 447.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.2668, allocations: 19.98 kB / 447.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.267, allocations: 188.5 kB / 447.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.267, allocations: 0 / 447.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005365/0.2675, allocations: 183.5 kB / 447.6 MB, free: 5.758 MB / 350.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.00216/0.2697, allocations: 1.57 MB / 449.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2708, allocations: 0.5013 MB / 449.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2708, allocations: 0 / 449.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.2713, allocations: 247.6 kB / 449.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.2718, allocations: 56.33 kB / 449.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/0.2784, allocations: 4.233 MB / 454.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2786, allocations: 245.1 kB / 454.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.279, allocations: 83.38 kB / 454.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.2793, allocations: 191.4 kB / 454.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2793, allocations: 4 kB / 454.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.313, allocations: 9.955 MB / 464.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.62, allocations: 4.062 kB / 464.6 MB, free: 4.73 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.943276252015494]