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.0008703/0.0008703, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008341/0.0008341, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8512/0.8512, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.835e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004009/0.004028, allocations: 3.81 MB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.005954, allocations: 1.634 MB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.006128, allocations: 12 kB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.007251, allocations: 0.9874 MB / 331 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.007611, allocations: 250.1 kB / 331.3 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.008443, allocations: 0.7272 MB / 332 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.00887, allocations: 0.6373 MB / 332.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.009343, allocations: 427.4 kB / 333 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.0097, allocations: 395.1 kB / 333.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.00993, allocations: 251.3 kB / 333.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.009983, allocations: 56 kB / 333.7 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.01032, allocations: 267.6 kB / 334 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.01038, allocations: 143.4 kB / 334.1 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.0105, allocations: 207.5 kB / 334.3 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.01117, allocations: 0.9696 MB / 335.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01117, allocations: 0 / 335.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01117, allocations: 4 kB / 335.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.01118, allocations: 0 / 335.3 MB, free: 5.16 MB / 298.7 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.001889/0.01307, allocations: 1.157 MB / 336.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.01311, allocations: 12.03 kB / 336.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.504e-05/0.01319, allocations: 114.7 kB / 336.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.01379, allocations: 172.4 kB / 336.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.01391, allocations: 185.7 kB / 336.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.01395, allocations: 50.38 kB / 337 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.01402, allocations: 72.33 kB / 337.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.01479, allocations: 0.7291 MB / 337.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.01481, allocations: 8.172 kB / 337.8 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.01485, allocations: 32.12 kB / 337.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01486, allocations: 20 kB / 337.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.01559, allocations: 0.5907 MB / 338.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.01751, allocations: 1.873 MB / 340.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.01828, allocations: 0.6703 MB / 341 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.01856, allocations: 243.6 kB / 341.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.292e-05/0.01865, allocations: 32.56 kB / 341.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.01868, allocations: 39.22 kB / 341.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.603e-06/0.01868, allocations: 0 / 341.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009134/0.01959, allocations: 0.7124 MB / 342 MB, free: 14.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.01963, allocations: 115.5 kB / 342.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.01983, allocations: 273.5 kB / 342.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.01986, allocations: 33.7 kB / 342.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01997, allocations: 268.8 kB / 342.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02007, allocations: 229.9 kB / 342.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.02019, allocations: 118.6 kB / 343 MB, free: 13.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.02028, allocations: 350.8 kB / 343.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.02054, allocations: 214 kB / 343.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.02087, allocations: 331 kB / 343.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.02145, allocations: 0.5107 MB / 344.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.02146, allocations: 4 kB / 344.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0007224/0.02218, allocations: 0.6377 MB / 345 MB, free: 11.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.02219, allocations: 7.938 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.0222, allocations: 4 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.02221, allocations: 4 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.02256, allocations: 159.8 kB / 345.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.02256, allocations: 4 kB / 345.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.02277, allocations: 71.56 kB / 345.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.02279, allocations: 27.97 kB / 345.3 MB, free: 10.83 MB / 314.7 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.0001438/0.02294, allocations: 189.7 kB / 345.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.02299, allocations: 43.7 kB / 345.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.0237, allocations: 0.599 MB / 346.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.02371, allocations: 15.98 kB / 346.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02371, allocations: 0 / 346.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.02372, allocations: 3.984 kB / 346.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.02496, allocations: 1.19 MB / 347.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.02496, allocations: 4 kB / 347.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.02523, allocations: 127.8 kB / 347.5 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.02523, allocations: 0 / 347.5 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.02525, allocations: 19.98 kB / 347.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02526, allocations: 0 / 347.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.02526, allocations: 4 kB / 347.5 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.02624, allocations: 0.9745 MB / 348.5 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.02628, allocations: 51.66 kB / 348.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.02631, allocations: 8 kB / 348.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.02649, allocations: 31.97 kB / 348.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.02655, allocations: 52.58 kB / 348.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.02658, allocations: 23.92 kB / 348.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.0267, allocations: 193.2 kB / 348.8 MB, free: 7.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0267, allocations: 3.938 kB / 348.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.02704, allocations: 183.6 kB / 349 MB, free: 7.047 MB / 314.7 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.001262/0.02831, allocations: 1.57 MB / 350.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.02896, allocations: 0.5013 MB / 351.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.02896, allocations: 0 / 351.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.02924, allocations: 248 kB / 351.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.02959, allocations: 56.48 kB / 351.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.03342, allocations: 4.182 MB / 355.6 MB, free: 352 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.03357, allocations: 241.1 kB / 355.8 MB, free: 84 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.03378, allocations: 79.41 kB / 355.9 MB, free: 4 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.03399, allocations: 188.5 kB / 356.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03399, allocations: 0 / 356.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.05455, allocations: 10.39 MB / 366.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.731/6.785, allocations: 0.7031 kB / 366.5 MB, free: 5.637 MB / 330.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/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: 8.365816617384553]