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.00114/0.00114, allocations: 108.6 kB / 21.22 MB, free: 0.7422 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.00135/0.00135, allocations: 187.7 kB / 24.5 MB, free: 4.156 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.34/1.34, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.001455/0.001455, allocations: 43.94 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2229, allocations: 52.18 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005552/0.2284, allocations: 4.236 MB / 427.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.2315, allocations: 1.647 MB / 429.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002623/0.2317, allocations: 12 kB / 429.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.234, allocations: 1.015 MB / 430.3 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.2347, allocations: 234.3 kB / 430.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.2363, allocations: 0.8054 MB / 431.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007613/0.237, allocations: 0.6261 MB / 432 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.2378, allocations: 442.7 kB / 432.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.2381, allocations: 279 kB / 432.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.2386, allocations: 342.6 kB / 433 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.2387, allocations: 56 kB / 433.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.2393, allocations: 267.7 kB / 433.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2394, allocations: 131.6 kB / 433.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.2397, allocations: 310.5 kB / 433.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2408, allocations: 0.9232 MB / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2408, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2408, allocations: 0 / 434.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2408, allocations: 0 / 434.7 MB, free: 3.258 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.003486/0.2443, allocations: 1.141 MB / 435.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2443, allocations: 12.03 kB / 435.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.694e-05/0.2444, allocations: 22.19 kB / 435.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.2445, allocations: 110.6 kB / 436 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.2455, allocations: 176.4 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.2457, allocations: 182.4 kB / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.2458, allocations: 62.38 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.2459, allocations: 64.38 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.2472, allocations: 0.6996 MB / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.2472, allocations: 0 / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.2473, allocations: 28 kB / 437.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2473, allocations: 16 kB / 437.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2485, allocations: 0.6102 MB / 437.8 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.252, allocations: 2.229 MB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.2533, allocations: 0.6732 MB / 440.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.2538, allocations: 245.5 kB / 440.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/0.2539, allocations: 20.64 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.2539, allocations: 47.22 kB / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.114e-06/0.2539, allocations: 0 / 441 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00164/0.2556, allocations: 0.7047 MB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.2557, allocations: 111.6 kB / 441.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.256, allocations: 260.9 kB / 442.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.256, allocations: 45.64 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.2562, allocations: 272.6 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.2564, allocations: 234 kB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.2566, allocations: 122.6 kB / 442.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2568, allocations: 350.7 kB / 443.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.2573, allocations: 213.9 kB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.2578, allocations: 293.4 kB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2589, allocations: 0.5107 MB / 444.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2589, allocations: 8 kB / 444.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001277/0.2601, allocations: 0.6297 MB / 444.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2602, allocations: 8 kB / 444.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2602, allocations: 0 / 444.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2602, allocations: 12.19 kB / 444.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.2609, allocations: 155.8 kB / 444.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.2609, allocations: 4 kB / 444.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.2614, allocations: 75.53 kB / 445 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.2614, allocations: 23.98 kB / 445 MB, free: 8.598 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.0002641/0.2617, allocations: 189.6 kB / 445.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2618, allocations: 43.77 kB / 445.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.2631, allocations: 0.599 MB / 445.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2631, allocations: 8 kB / 445.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.2631, allocations: 7.922 kB / 445.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2631, allocations: 0 / 445.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.2654, allocations: 1.264 MB / 447.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2654, allocations: 4 kB / 447.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.2659, allocations: 131.8 kB / 447.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.2659, allocations: 4 kB / 447.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.266, allocations: 19.92 kB / 447.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.266, allocations: 0 / 447.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.266, allocations: 4 kB / 447.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.2677, allocations: 0.9823 MB / 448.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.2678, allocations: 47.66 kB / 448.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2679, allocations: 15.94 kB / 448.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.2682, allocations: 23.98 kB / 448.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2683, allocations: 48.62 kB / 448.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.2684, allocations: 20 kB / 448.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.2686, allocations: 192.5 kB / 448.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2686, allocations: 0 / 448.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005603/0.2691, allocations: 179.6 kB / 448.8 MB, free: 4.75 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.2713, allocations: 1.566 MB / 450.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.2725, allocations: 0.5091 MB / 450.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2725, allocations: 0 / 450.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005185/0.273, allocations: 255.6 kB / 451.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.2735, allocations: 43.7 kB / 451.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/0.2801, allocations: 4.237 MB / 455.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.2806, allocations: 0.8421 MB / 456.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003505/0.2809, allocations: 83.39 kB / 456.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.2812, allocations: 191.3 kB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2812, allocations: 0 / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.3172, allocations: 9.928 MB / 466.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.89, allocations: 0 / 466.4 MB, free: 3.117 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: 14.2369525830145]