Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005419/0.005419, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001572/0.001572, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 207.7 MB / 236.1 MB, free: 9.949 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 51.92 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2349, allocations: 49.16 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004584/0.2395, allocations: 3.741 MB / 400.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.242, allocations: 1.569 MB / 402.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.2425, allocations: 11.38 kB / 402.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.2447, allocations: 0.949 MB / 403.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007736/0.2455, allocations: 235.2 kB / 403.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.2468, allocations: 0.7161 MB / 404.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.2474, allocations: 0.6208 MB / 405 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006356/0.2481, allocations: 443.7 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2484, allocations: 274.2 kB / 405.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.2488, allocations: 343.9 kB / 406 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.2488, allocations: 52.62 kB / 406.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.2493, allocations: 266.2 kB / 406.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.2494, allocations: 127.3 kB / 406.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2497, allocations: 253.6 kB / 406.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2507, allocations: 0.917 MB / 407.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2507, allocations: 0 / 407.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2507, allocations: 1.375 kB / 407.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2508, allocations: 0 / 407.6 MB, free: 2.691 MB / 318.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.00329/0.254, allocations: 1.154 MB / 408.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2541, allocations: 14.05 kB / 408.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.231e-05/0.2541, allocations: 19.56 kB / 408.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.2542, allocations: 108 kB / 408.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.2553, allocations: 175.8 kB / 409.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2555, allocations: 190.1 kB / 409.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.2555, allocations: 48.5 kB / 409.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.2556, allocations: 68.38 kB / 409.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2568, allocations: 0.7304 MB / 410.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.2569, allocations: 1.844 kB / 410.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.2569, allocations: 30.19 kB / 410.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.2569, allocations: 20.72 kB / 410.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2581, allocations: 0.5981 MB / 410.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.2608, allocations: 1.854 MB / 412.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.2621, allocations: 0.6705 MB / 413.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.2626, allocations: 237.5 kB / 413.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.2626, allocations: 25.95 kB / 413.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.2627, allocations: 42.84 kB / 413.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 1.994e-06/0.2627, allocations: 0 / 413.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001559/0.2642, allocations: 0.7046 MB / 414.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.2643, allocations: 111.3 kB / 414.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.2646, allocations: 266.4 kB / 414.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.2647, allocations: 40.86 kB / 414.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.2648, allocations: 275 kB / 415 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.265, allocations: 236.4 kB / 415.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.2652, allocations: 113.5 kB / 415.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2654, allocations: 351 kB / 415.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.2658, allocations: 210.7 kB / 415.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.2664, allocations: 326.1 kB / 416.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.2674, allocations: 0.5128 MB / 416.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2674, allocations: 0 / 416.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001235/0.2686, allocations: 0.6289 MB / 417.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2686, allocations: 5.656 kB / 417.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.2686, allocations: 1.156 kB / 417.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2686, allocations: 4.781 kB / 417.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.2694, allocations: 161.4 kB / 417.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2694, allocations: 8.219 kB / 417.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.2698, allocations: 78.7 kB / 417.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.2699, allocations: 24.95 kB / 417.6 MB, free: 12.53 MB / 334.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.0002341/0.2701, allocations: 187.4 kB / 417.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2702, allocations: 42.52 kB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.2715, allocations: 0.597 MB / 418.4 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2715, allocations: 6.875 kB / 418.4 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2715, allocations: 3.938 kB / 418.4 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2715, allocations: 5.359 kB / 418.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.2735, allocations: 1.192 MB / 419.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2735, allocations: 1.156 kB / 419.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.2741, allocations: 124.7 kB / 419.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2741, allocations: 4.125 kB / 419.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.2741, allocations: 15.38 kB / 419.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.2741, allocations: 6.719 kB / 419.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2741, allocations: 5.469 kB / 419.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.2758, allocations: 0.9797 MB / 420.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.2759, allocations: 44.73 kB / 420.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.2759, allocations: 16.22 kB / 420.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.2763, allocations: 32.25 kB / 420.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.2764, allocations: 40.89 kB / 420.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.2765, allocations: 24.52 kB / 420.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.2767, allocations: 188.8 kB / 421.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2767, allocations: 0 / 421.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.2772, allocations: 181.8 kB / 421.3 MB, free: 10.25 MB / 334.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.002111/0.2793, allocations: 1.572 MB / 422.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.2804, allocations: 0.5013 MB / 423.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2804, allocations: 0 / 423.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.2809, allocations: 244 kB / 423.6 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.2815, allocations: 56.42 kB / 423.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006497/0.288, allocations: 4.225 MB / 427.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2882, allocations: 241.1 kB / 428.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.2885, allocations: 83.38 kB / 428.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.2888, allocations: 195.4 kB / 428.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2888, allocations: 0 / 428.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.323, allocations: 9.928 MB / 438.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.6, allocations: 11.95 kB / 438.3 MB, free: 9.312 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.890094651957043]