Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001326/0.001326, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001638/0.001638, allocations: 213.7 kB / 23 MB, free: 5.004 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.586/1.586, allocations: 207.6 MB / 233.8 MB, free: 10 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.2355/0.2355, allocations: 44.24 MB / 330.3 MB, free: 9.523 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.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",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.002653/0.002653, allocations: 72.98 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1294, allocations: 61.04 MB / 0.5162 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01215/0.1415, allocations: 8.761 MB / 0.5247 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007992/0.1495, allocations: 3.492 MB / 0.5281 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1511, allocations: 55.75 kB / 0.5282 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.1544, allocations: 1.386 MB / 0.5295 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.159, allocations: 0.9651 MB / 0.5305 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1613, allocations: 0.5225 MB / 0.531 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003547/0.1649, allocations: 1.695 MB / 0.5326 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.1672, allocations: 1.276 MB / 0.5339 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.1686, allocations: 0.6854 MB / 0.5346 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.1704, allocations: 0.9502 MB / 0.5355 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.1709, allocations: 140 kB / 0.5356 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.1725, allocations: 0.6202 MB / 0.5362 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.1735, allocations: 0.7558 MB / 0.537 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.1751, allocations: 0.8392 MB / 0.5378 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2628/0.4379, allocations: 2.52 MB / 0.5402 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.4379, allocations: 0.6562 kB / 0.5402 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4379, allocations: 1.094 kB / 0.5402 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.968e-05/0.438, allocations: 0 / 0.5402 GB, free: 14.16 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.0053/0.4433, allocations: 1.999 MB / 0.5422 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.4434, allocations: 10.47 kB / 0.5422 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003764/0.4437, allocations: 248.2 kB / 0.5424 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.445, allocations: 287.8 kB / 0.5427 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.448, allocations: 1.483 MB / 0.5442 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.384e-05/0.4481, allocations: 90.16 kB / 0.5442 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4483, allocations: 138.9 kB / 0.5444 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005837/0.4542, allocations: 2.981 MB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/0.4542, allocations: 12.16 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.4544, allocations: 62.38 kB / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007488/0.4551, allocations: 432.6 kB / 0.5478 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.4601, allocations: 2.161 MB / 0.5499 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.4737, allocations: 10.66 MB / 0.5603 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.4775, allocations: 1.181 MB / 0.5614 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.4781, allocations: 375 kB / 0.5618 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003669/0.4818, allocations: 2.093 MB / 0.5639 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4818, allocations: 37.62 kB / 0.5639 GB, free: 3.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.4818, allocations: 0 / 0.5639 GB, free: 3.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01124/0.4931, allocations: 3.6 MB / 0.5674 GB, free: 2.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.4931, allocations: 87.14 kB / 0.5675 GB, free: 2.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.4949, allocations: 1.215 MB / 0.5687 GB, free: 2.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.4949, allocations: 36.02 kB / 0.5687 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/0.4954, allocations: 0.9726 MB / 0.5697 GB, free: 1.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.4956, allocations: 233.1 kB / 0.5699 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.496, allocations: 313.5 kB / 0.5702 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.496, allocations: 302.4 kB / 0.5705 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.4967, allocations: 411.6 kB / 0.5709 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4981, allocations: 1.246 MB / 0.5721 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.5003, allocations: 1.794 MB / 0.5738 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.5004, allocations: 8.656 kB / 0.5738 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002932/0.5033, allocations: 1.712 MB / 0.5755 GB, free: 13.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.5033, allocations: 17.03 kB / 0.5755 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.5034, allocations: 30.06 kB / 0.5756 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.5036, allocations: 88.22 kB / 0.5756 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009933/0.5046, allocations: 355.5 kB / 0.576 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.5065, allocations: 1.779 MB / 0.5777 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.5077, allocations: 63.86 kB / 0.5778 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5078, allocations: 84.09 kB / 0.5779 GB, free: 11.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001296/0.5091, allocations: 0.6468 MB / 0.5785 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.5093, allocations: 124.6 kB / 0.5786 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.5107, allocations: 0.7065 MB / 0.5793 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5107, allocations: 7.344 kB / 0.5793 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5107, allocations: 4.75 kB / 0.5793 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.5107, allocations: 1.281 kB / 0.5793 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.5145, allocations: 2.209 MB / 0.5815 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5145, allocations: 3.719 kB / 0.5815 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.5149, allocations: 100.9 kB / 0.5816 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.5151, allocations: 65.28 kB / 0.5816 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.5151, allocations: 18.41 kB / 0.5816 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.5169, allocations: 1.828 MB / 0.5834 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.5169, allocations: 10.25 kB / 0.5834 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.5185, allocations: 1.105 MB / 0.5845 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.5189, allocations: 148.7 kB / 0.5847 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.519, allocations: 18.59 kB / 0.5847 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.5194, allocations: 25.31 kB / 0.5847 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.5195, allocations: 47.09 kB / 0.5847 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.5195, allocations: 23.17 kB / 0.5848 GB, free: 6.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001081/0.5206, allocations: 0.7796 MB / 0.5855 GB, free: 6.539 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5206, allocations: 0 / 0.5855 GB, free: 6.539 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001414/0.522, allocations: 298.1 kB / 0.5858 GB, free: 6.508 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/0.5239, allocations: 1.678 MB / 0.5875 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.5256, allocations: 1.054 MB / 0.5885 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5256, allocations: 0 / 0.5885 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.5261, allocations: 394.4 kB / 0.5889 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5272, allocations: 193.2 kB / 0.589 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/0.544, allocations: 11.58 MB / 0.6004 GB, free: 8.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.5454, allocations: 1.467 MB / 0.6018 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000966/0.5464, allocations: 403.5 kB / 0.6022 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/0.5471, allocations: 0.5813 MB / 0.6027 GB, free: 6.508 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5471, allocations: 4 kB / 0.6027 GB, free: 6.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06846/0.6155, allocations: 24.59 MB / 0.6268 GB, free: 13.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.14, allocations: 4 kB / 0.6268 GB, free: 13.93 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 17.54577545914799]