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.001362/0.001362, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00155/0.00155, allocations: 214.1 kB / 22.99 MB, free: 4.977 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.54/1.54, allocations: 207.7 MB / 233.8 MB, free: 9.809 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.246/0.246, allocations: 44.26 MB / 330.3 MB, free: 9.309 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",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.002659/0.002659, allocations: 75.89 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1689, allocations: 61.03 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.006171/0.175, allocations: 2.766 MB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.1778, allocations: 0.741 MB / 0.5196 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007163/0.1785, allocations: 8 kB / 0.5196 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.179, allocations: 59.38 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008025/0.1798, allocations: 107 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.1805, allocations: 111.8 kB / 0.5198 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.1813, allocations: 478.4 kB / 0.5203 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.1816, allocations: 104.5 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.182, allocations: 191.3 kB / 0.5206 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.1823, allocations: 179.1 kB / 0.5207 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.731e-05/0.1824, allocations: 44 kB / 0.5208 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.1825, allocations: 40 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1826, allocations: 91.66 kB / 0.5209 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.1828, allocations: 171.2 kB / 0.5211 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006775/0.1835, allocations: 474 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.1835, allocations: 7.938 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1835, allocations: 0 / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1835, allocations: 0 / 0.5215 GB, free: 1.621 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.001523/0.185, allocations: 0.6418 MB / 0.5222 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1851, allocations: 8.031 kB / 0.5222 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1852, allocations: 78.7 kB / 0.5222 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.1852, allocations: 44.66 kB / 0.5223 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.1858, allocations: 233.6 kB / 0.5225 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.1859, allocations: 33.3 kB / 0.5225 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.1859, allocations: 40.38 kB / 0.5226 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.1866, allocations: 350.6 kB / 0.5229 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1867, allocations: 3.938 kB / 0.5229 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.1867, allocations: 16 kB / 0.5229 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1867, allocations: 8 kB / 0.5229 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006988/0.1874, allocations: 299.9 kB / 0.5232 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.1901, allocations: 1.197 MB / 0.5244 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.1907, allocations: 261.3 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.191, allocations: 137.4 kB / 0.5248 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.191, allocations: 8.281 kB / 0.5248 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.191, allocations: 34.84 kB / 0.5248 GB, free: 14.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.191, allocations: 4 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009652/0.192, allocations: 382.6 kB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.1921, allocations: 55.41 kB / 0.5252 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.1924, allocations: 265.9 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.1924, allocations: 33.7 kB / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1926, allocations: 204.3 kB / 0.5257 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1927, allocations: 123 kB / 0.5258 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1929, allocations: 74.08 kB / 0.5259 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1931, allocations: 342.8 kB / 0.5262 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.1933, allocations: 104.8 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.1937, allocations: 171.5 kB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.1943, allocations: 288.6 kB / 0.5268 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.1943, allocations: 7.938 kB / 0.5268 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007581/0.195, allocations: 370.5 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.195, allocations: 7.984 kB / 0.5271 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.195, allocations: 0 / 0.5271 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1951, allocations: 4 kB / 0.5271 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.1956, allocations: 99.88 kB / 0.5272 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1956, allocations: 4 kB / 0.5272 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.1959, allocations: 43.66 kB / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1959, allocations: 16.16 kB / 0.5273 GB, free: 11.43 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.0002113/0.1961, allocations: 161.6 kB / 0.5275 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.1962, allocations: 31.81 kB / 0.5275 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/0.197, allocations: 324.2 kB / 0.5278 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.197, allocations: 0 / 0.5278 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.197, allocations: 7.938 kB / 0.5278 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.197, allocations: 0 / 0.5278 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.1975, allocations: 332.4 kB / 0.5281 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1975, allocations: 0 / 0.5281 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.198, allocations: 91.88 kB / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.198, allocations: 7.938 kB / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.198, allocations: 4 kB / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.198, allocations: 4 kB / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.198, allocations: 0 / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.199, allocations: 0.5106 MB / 0.5287 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1991, allocations: 59.67 kB / 0.5288 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.1992, allocations: 12.06 kB / 0.5288 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1994, allocations: 11.98 kB / 0.5288 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.1995, allocations: 19.97 kB / 0.5288 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1995, allocations: 11.98 kB / 0.5288 GB, free: 9.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1997, allocations: 189.2 kB / 0.529 GB, free: 9.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1997, allocations: 0 / 0.529 GB, free: 9.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.2001, allocations: 91.84 kB / 0.5291 GB, free: 9.512 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.001455/0.2015, allocations: 1.064 MB / 0.5301 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000653/0.2022, allocations: 263.5 kB / 0.5304 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2022, allocations: 0 / 0.5304 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.2025, allocations: 119.9 kB / 0.5305 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.2029, allocations: 32.92 kB / 0.5305 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.2079, allocations: 3.156 MB / 0.5336 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2081, allocations: 185.5 kB / 0.5338 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.2083, allocations: 38.95 kB / 0.5338 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.2086, allocations: 107.4 kB / 0.5339 GB, free: 4.387 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2086, allocations: 0 / 0.5339 GB, free: 4.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2948/0.5033, allocations: 6.392 MB / 0.5402 GB, free: 29.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.01, allocations: 4.969 kB / 0.5402 GB, free: 29.09 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.135823918972164]