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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001524, allocations: 110.5 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 55.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08745, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005367/0.09285, allocations: 4.142 MB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1758/0.2687, allocations: 1.662 MB / 380.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.269, allocations: 10.66 kB / 380.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2711, allocations: 1.017 MB / 381.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006739/0.2718, allocations: 234.3 kB / 381.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2734, allocations: 0.7897 MB / 382.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.2742, allocations: 0.6219 MB / 383.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/0.275, allocations: 497.6 kB / 383.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.2754, allocations: 271.5 kB / 383.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.2758, allocations: 333.3 kB / 384.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.2759, allocations: 57.62 kB / 384.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.2765, allocations: 268.2 kB / 384.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.2766, allocations: 132.6 kB / 384.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.2769, allocations: 308.4 kB / 384.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.2779, allocations: 0.9175 MB / 385.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2779, allocations: 0.7031 kB / 385.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2779, allocations: 0 / 385.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2779, allocations: 0 / 385.9 MB, free: 7.98 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.003433/0.2813, allocations: 1.219 MB / 387.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.2814, allocations: 10.61 kB / 387.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.2815, allocations: 115.9 kB / 387.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.2827, allocations: 180.7 kB / 387.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2829, allocations: 247.6 kB / 387.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.283, allocations: 52.94 kB / 387.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2831, allocations: 68 kB / 387.7 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2844, allocations: 0.7053 MB / 388.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.2845, allocations: 1.625 kB / 388.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.2846, allocations: 26.78 kB / 388.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.2846, allocations: 15.31 kB / 388.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.2858, allocations: 0.5997 MB / 389.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.2889, allocations: 2.307 MB / 391.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.2903, allocations: 1.63 MB / 393 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.2908, allocations: 272.6 kB / 393.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.291, allocations: 99.19 kB / 393.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.291, allocations: 43.64 kB / 393.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.291, allocations: 0 / 393.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001565/0.2926, allocations: 0.7049 MB / 394.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2926, allocations: 113.9 kB / 394.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.2929, allocations: 261.6 kB / 394.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2929, allocations: 36.52 kB / 394.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2931, allocations: 274.2 kB / 394.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2932, allocations: 232.7 kB / 395 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.2934, allocations: 115.6 kB / 395.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.2934, allocations: 346.2 kB / 395.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.2939, allocations: 215.2 kB / 395.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.2945, allocations: 303.8 kB / 396 MB, free: 1.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.2954, allocations: 0.5129 MB / 396.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2955, allocations: 7.938 kB / 396.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001232/0.2967, allocations: 0.6304 MB / 397.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.2967, allocations: 6.438 kB / 397.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.2968, allocations: 6.797 kB / 397.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2968, allocations: 4.594 kB / 397.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.2975, allocations: 161.7 kB / 397.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2975, allocations: 3.375 kB / 397.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.298, allocations: 77.62 kB / 397.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.2981, allocations: 23.28 kB / 397.4 MB, free: 0.8555 MB / 318.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.0001937/0.2983, allocations: 188.2 kB / 397.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.2984, allocations: 38.14 kB / 397.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.2996, allocations: 0.6092 MB / 398.3 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2996, allocations: 6.438 kB / 398.3 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2996, allocations: 0 / 398.3 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2996, allocations: 4.812 kB / 398.3 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.3018, allocations: 1.293 MB / 399.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3018, allocations: 0 / 399.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.3024, allocations: 132.4 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3024, allocations: 3.562 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.3024, allocations: 15.39 kB / 399.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3025, allocations: 5.656 kB / 399.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3025, allocations: 1.312 kB / 399.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.3042, allocations: 0.9728 MB / 400.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3044, allocations: 124 kB / 400.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.3044, allocations: 12.69 kB / 400.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.3049, allocations: 34.27 kB / 400.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.305, allocations: 44.22 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.305, allocations: 26.11 kB / 400.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3053, allocations: 186.4 kB / 401.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3053, allocations: 1.125 kB / 401.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006353/0.3059, allocations: 184.8 kB / 401.3 MB, free: 14.82 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.002373/0.3083, allocations: 1.561 MB / 402.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.3096, allocations: 0.5351 MB / 403.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3096, allocations: 5.219 kB / 403.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.3102, allocations: 270.8 kB / 403.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.3107, allocations: 51.92 kB / 403.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.3181, allocations: 4.223 MB / 407.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.3187, allocations: 0.8487 MB / 408.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.3191, allocations: 76 kB / 408.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.3195, allocations: 190.8 kB / 409 MB, free: 9.941 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3195, allocations: 4 kB / 409 MB, free: 9.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.357, allocations: 9.296 MB / 418.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.72, allocations: 0 / 418.3 MB, free: 2.859 MB / 334.1 MB (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 --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) 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) Reference file matches