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.00144/0.00144, allocations: 109 kB / 20.48 MB, free: 1.477 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.001861/0.001861, allocations: 207.9 kB / 23.78 MB, free: 4.688 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.552/1.552, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2672/0.2672, allocations: 44.24 MB / 331.1 MB, free: 9.52 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.002486/0.002486, allocations: 70.56 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1362, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005865/0.142, allocations: 3.019 MB / 0.5199 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.144, allocations: 0.776 MB / 0.5206 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.1445, allocations: 7.938 kB / 0.5206 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1448, allocations: 63.38 kB / 0.5207 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.1452, allocations: 91.12 kB / 0.5208 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1457, allocations: 119.8 kB / 0.5209 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.1464, allocations: 482.4 kB / 0.5213 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.1467, allocations: 108.5 kB / 0.5214 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.1472, allocations: 191.3 kB / 0.5216 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.1476, allocations: 207.1 kB / 0.5218 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.1476, allocations: 40 kB / 0.5219 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.1477, allocations: 40 kB / 0.5219 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1478, allocations: 91.61 kB / 0.522 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.148, allocations: 199 kB / 0.5222 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.1487, allocations: 470 kB / 0.5226 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1487, allocations: 0 / 0.5226 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1487, allocations: 4 kB / 0.5226 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.1487, allocations: 3.984 kB / 0.5226 GB, free: 1.434 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.001786/0.1505, allocations: 0.634 MB / 0.5233 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.585e-05/0.1506, allocations: 12.02 kB / 0.5233 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.676e-05/0.1506, allocations: 13.19 kB / 0.5233 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.1507, allocations: 78.72 kB / 0.5234 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.1509, allocations: 44.66 kB / 0.5234 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.1516, allocations: 233.6 kB / 0.5236 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.1517, allocations: 29.38 kB / 0.5236 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.1517, allocations: 36.38 kB / 0.5237 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.1526, allocations: 342.5 kB / 0.524 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1527, allocations: 4 kB / 0.524 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.1527, allocations: 16 kB / 0.524 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1527, allocations: 12 kB / 0.524 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.1535, allocations: 299.8 kB / 0.5243 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.1567, allocations: 1.295 MB / 0.5256 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.1573, allocations: 264.9 kB / 0.5258 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.1576, allocations: 129.4 kB / 0.526 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.1576, allocations: 16.2 kB / 0.526 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1576, allocations: 34.84 kB / 0.526 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.504e-06/0.1576, allocations: 0 / 0.526 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001024/0.1587, allocations: 382.7 kB / 0.5264 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.1587, allocations: 51.41 kB / 0.5264 GB, free: 13.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.1591, allocations: 269.8 kB / 0.5267 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.1592, allocations: 29.7 kB / 0.5267 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1594, allocations: 208.3 kB / 0.5269 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1595, allocations: 122.9 kB / 0.527 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.1597, allocations: 74.12 kB / 0.5271 GB, free: 12.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1599, allocations: 334.8 kB / 0.5274 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.1602, allocations: 108.8 kB / 0.5275 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.1605, allocations: 171.4 kB / 0.5277 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.1611, allocations: 292.6 kB / 0.528 GB, free: 11.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1611, allocations: 3.938 kB / 0.528 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008221/0.162, allocations: 366.5 kB / 0.5283 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.162, allocations: 4 kB / 0.5283 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.162, allocations: 4 kB / 0.5283 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.162, allocations: 4 kB / 0.5283 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.1626, allocations: 107.8 kB / 0.5284 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.1626, allocations: 16.19 kB / 0.5284 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.163, allocations: 35.73 kB / 0.5285 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.163, allocations: 19.98 kB / 0.5285 GB, free: 11.14 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.0002523/0.1632, allocations: 157.7 kB / 0.5286 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/0.1633, allocations: 27.81 kB / 0.5287 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.1642, allocations: 332.1 kB / 0.529 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1642, allocations: 8 kB / 0.529 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1642, allocations: 0 / 0.529 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1642, allocations: 3.984 kB / 0.529 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.1648, allocations: 372.3 kB / 0.5294 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1648, allocations: 0 / 0.5294 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.1653, allocations: 87.88 kB / 0.5294 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1653, allocations: 0 / 0.5294 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.1653, allocations: 8 kB / 0.5294 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1653, allocations: 0 / 0.5294 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1653, allocations: 0 / 0.5294 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1664, allocations: 0.5145 MB / 0.53 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.1666, allocations: 47.75 kB / 0.53 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.1666, allocations: 11.98 kB / 0.53 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1669, allocations: 12 kB / 0.53 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.1669, allocations: 19.95 kB / 0.53 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.167, allocations: 12.06 kB / 0.5301 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.1672, allocations: 197.1 kB / 0.5302 GB, free: 9.277 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1672, allocations: 0 / 0.5302 GB, free: 9.277 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.1677, allocations: 91.83 kB / 0.5303 GB, free: 9.188 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.001453/0.1691, allocations: 1.072 MB / 0.5314 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006965/0.1698, allocations: 255.6 kB / 0.5316 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1698, allocations: 3.938 kB / 0.5316 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.1701, allocations: 127.8 kB / 0.5317 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1705, allocations: 32.98 kB / 0.5318 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.1759, allocations: 3.148 MB / 0.5348 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.1765, allocations: 0.7837 MB / 0.5356 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.1767, allocations: 34.95 kB / 0.5356 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.1769, allocations: 115.4 kB / 0.5358 GB, free: 3.449 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1769, allocations: 0 / 0.5358 GB, free: 3.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/0.4212, allocations: 6.107 MB / 0.5417 GB, free: 28.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.47, allocations: 6.031 kB / 0.5417 GB, free: 28.48 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: 15.752343116037082]