Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.001438/0.001438, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001444/0.001444, allocations: 216.1 kB / 23.77 MB, free: 4.551 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.669/1.669, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2632/0.2632, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.002548/0.002548, allocations: 68.47 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.161, allocations: 61.05 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.006025/0.1671, allocations: 2.77 MB / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1696, allocations: 0.7371 MB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.1702, allocations: 11.94 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.1707, allocations: 55.38 kB / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007016/0.1714, allocations: 103.1 kB / 0.5205 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.172, allocations: 107.8 kB / 0.5206 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.173, allocations: 486.4 kB / 0.5211 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.1734, allocations: 116.4 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.1739, allocations: 187.3 kB / 0.5214 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1742, allocations: 203.1 kB / 0.5215 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.1743, allocations: 40 kB / 0.5216 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.1743, allocations: 36 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.1744, allocations: 99.59 kB / 0.5217 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.1746, allocations: 167.2 kB / 0.5219 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.1753, allocations: 478 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.1753, allocations: 4 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1753, allocations: 0 / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.1753, allocations: 4 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001776/0.1771, allocations: 0.634 MB / 0.523 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.1772, allocations: 12.03 kB / 0.523 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.706e-05/0.1772, allocations: 9.188 kB / 0.523 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1773, allocations: 74.72 kB / 0.523 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1774, allocations: 52.66 kB / 0.5231 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.1779, allocations: 233.5 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.178, allocations: 29.38 kB / 0.5233 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.178, allocations: 40.38 kB / 0.5234 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.1787, allocations: 338.4 kB / 0.5237 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1787, allocations: 0 / 0.5237 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.1788, allocations: 16 kB / 0.5237 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.1788, allocations: 15.98 kB / 0.5237 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.1795, allocations: 303.8 kB / 0.524 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.182, allocations: 1.209 MB / 0.5252 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.1826, allocations: 253.5 kB / 0.5254 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.1829, allocations: 137.4 kB / 0.5256 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.183, allocations: 4.281 kB / 0.5256 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.183, allocations: 38.78 kB / 0.5256 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.183, allocations: 4 kB / 0.5256 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009821/0.184, allocations: 378.7 kB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.184, allocations: 55.41 kB / 0.526 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.1844, allocations: 265.8 kB / 0.5263 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.1844, allocations: 37.64 kB / 0.5263 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1846, allocations: 196.4 kB / 0.5265 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.1847, allocations: 134.9 kB / 0.5266 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1849, allocations: 66.12 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1851, allocations: 342.8 kB / 0.527 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1853, allocations: 100.8 kB / 0.5271 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.1856, allocations: 175.4 kB / 0.5273 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.1862, allocations: 292.6 kB / 0.5276 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1862, allocations: 0 / 0.5276 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007437/0.187, allocations: 366.4 kB / 0.5279 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.187, allocations: 8 kB / 0.5279 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.187, allocations: 224 / 0.5279 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.187, allocations: 8 kB / 0.5279 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.1876, allocations: 107.8 kB / 0.528 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1876, allocations: 4 kB / 0.528 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.1879, allocations: 47.72 kB / 0.5281 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.1879, allocations: 8 kB / 0.5281 GB, free: 11.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0001941/0.1881, allocations: 157.7 kB / 0.5283 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.1882, allocations: 31.81 kB / 0.5283 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/0.1889, allocations: 336.1 kB / 0.5286 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1889, allocations: 7.984 kB / 0.5286 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1889, allocations: 0 / 0.5286 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1889, allocations: 3.938 kB / 0.5286 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.1894, allocations: 332.4 kB / 0.5289 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1894, allocations: 0 / 0.5289 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.1899, allocations: 83.88 kB / 0.529 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1899, allocations: 0 / 0.529 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1899, allocations: 8 kB / 0.529 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1899, allocations: 4 kB / 0.529 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1899, allocations: 0 / 0.529 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.1908, allocations: 0.5145 MB / 0.5295 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.191, allocations: 51.75 kB / 0.5296 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.191, allocations: 4 kB / 0.5296 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1913, allocations: 15.98 kB / 0.5296 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.1913, allocations: 23.95 kB / 0.5296 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1914, allocations: 4 kB / 0.5296 GB, free: 9.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.1916, allocations: 197.3 kB / 0.5298 GB, free: 9.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 0.5298 GB, free: 9.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1919, allocations: 95.77 kB / 0.5299 GB, free: 9.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.001316/0.1933, allocations: 1.064 MB / 0.5309 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000631/0.1939, allocations: 263.7 kB / 0.5312 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1939, allocations: 0 / 0.5312 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1942, allocations: 131.8 kB / 0.5313 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1946, allocations: 28.48 kB / 0.5313 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.1994, allocations: 3.149 MB / 0.5344 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1996, allocations: 181.5 kB / 0.5346 GB, free: 4.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.1998, allocations: 42.94 kB / 0.5346 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2, allocations: 107.4 kB / 0.5347 GB, free: 4.359 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2, allocations: 0 / 0.5347 GB, free: 4.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2785/0.4785, allocations: 6.127 MB / 0.5407 GB, free: 29.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.68, allocations: 11.02 kB / 0.5407 GB, free: 29.52 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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: 16.05229577899445]