Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001708/0.001708, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00221/0.00221, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 46.92 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 75.88 kB / 0.497 GB, free: 8.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3255, allocations: 66.07 MB / 0.5615 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01017/0.3357, allocations: 12.33 MB / 0.5735 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007307/0.343, allocations: 3.907 MB / 0.5774 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.3451, allocations: 70.16 kB / 0.5774 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.348, allocations: 1.348 MB / 0.5787 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.3528, allocations: 1.766 MB / 0.5805 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3539, allocations: 418.6 kB / 0.5809 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005299/0.3592, allocations: 3.612 MB / 0.5844 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.3622, allocations: 1.835 MB / 0.5862 GB, free: 18.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.3646, allocations: 1.212 MB / 0.5874 GB, free: 18.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/0.3688, allocations: 1.922 MB / 0.5892 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.37, allocations: 239.7 kB / 0.5895 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.3727, allocations: 0.8334 MB / 0.5903 GB, free: 17.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002442/0.3752, allocations: 1.604 MB / 0.5918 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.3783, allocations: 1.874 MB / 0.5937 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008128/0.3865, allocations: 6.102 MB / 0.5996 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3865, allocations: 3.938 kB / 0.5996 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3865, allocations: 0 / 0.5996 GB, free: 11.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.3866, allocations: 6.406 kB / 0.5996 GB, free: 11.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008124/0.3948, allocations: 4.077 MB / 0.6036 GB, free: 8.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3948, allocations: 10.91 kB / 0.6036 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001586/0.395, allocations: 90.39 kB / 0.6037 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001274/0.3962, allocations: 0.7038 MB / 0.6044 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.4066, allocations: 3.104 MB / 0.6074 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005502/0.4121, allocations: 2.07 MB / 0.6095 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.4122, allocations: 192.6 kB / 0.6096 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.4133, allocations: 239.8 kB / 0.6099 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.4321, allocations: 10.19 MB / 0.6198 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.4322, allocations: 23.81 kB / 0.6198 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/0.4334, allocations: 115.8 kB / 0.62 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004743/0.4382, allocations: 2.471 MB / 0.6224 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/0.4599, allocations: 9.353 MB / 0.6315 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05518/0.5151, allocations: 31.41 MB / 0.6622 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006249/0.5214, allocations: 2.336 MB / 0.6645 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.5232, allocations: 1.002 MB / 0.6654 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009726/0.5242, allocations: 438.6 kB / 0.6659 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/0.5243, allocations: 51.88 kB / 0.6659 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 6.032e-06/0.5243, allocations: 0 / 0.6659 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02448/0.5487, allocations: 8.943 MB / 0.6746 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.5488, allocations: 64.72 kB / 0.6747 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/0.5538, allocations: 2.619 MB / 0.6773 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.5541, allocations: 49.7 kB / 0.6773 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002557/0.5567, allocations: 2.776 MB / 0.68 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.5577, allocations: 0.7402 MB / 0.6807 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/0.5596, allocations: 0.9653 MB / 0.6817 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5597, allocations: 301.1 kB / 0.682 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/0.5625, allocations: 1.544 MB / 0.6835 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005431/0.5679, allocations: 4.375 MB / 0.6877 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009117/0.577, allocations: 6.555 MB / 0.6941 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.5771, allocations: 28 kB / 0.6942 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01367/0.5908, allocations: 5.841 MB / 0.6999 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.5909, allocations: 52.06 kB / 0.6999 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/0.5912, allocations: 104.1 kB / 0.7 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.5917, allocations: 176.8 kB / 0.7002 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/0.5954, allocations: 1.061 MB / 0.7012 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.5975, allocations: 1.697 MB / 0.7029 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.6008, allocations: 211.9 kB / 0.7031 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008637/0.6016, allocations: 291.9 kB / 0.7034 GB, free: 0.793 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * 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.004615/0.6063, allocations: 1.99 MB / 0.7053 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/0.6069, allocations: 258.3 kB / 0.7056 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005353/0.6122, allocations: 2.533 MB / 0.708 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/0.6123, allocations: 20 kB / 0.7081 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.6123, allocations: 0 / 0.7081 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.6123, allocations: 8.156 kB / 0.7081 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.6296, allocations: 7.922 MB / 0.7158 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.6297, allocations: 12 kB / 0.7158 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6308, allocations: 243.6 kB / 0.716 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.631, allocations: 56.83 kB / 0.7161 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.6312, allocations: 44.5 kB / 0.7161 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.6329, allocations: 1.531 MB / 0.7176 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.347e-05/0.6329, allocations: 15.94 kB / 0.7176 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.6395, allocations: 4.032 MB / 0.7216 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000969/0.6405, allocations: 230.2 kB / 0.7218 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/0.6411, allocations: 35.98 kB / 0.7218 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6423, allocations: 63.89 kB / 0.7219 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.6427, allocations: 120.6 kB / 0.722 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.6428, allocations: 71.92 kB / 0.7221 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003674/0.6465, allocations: 1.603 MB / 0.7236 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6465, allocations: 0 / 0.7236 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004814/0.6513, allocations: 0.7734 MB / 0.7244 GB, free: 10.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.007053/0.6584, allocations: 4.703 MB / 0.729 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006878/0.6653, allocations: 3.715 MB / 0.7326 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.6653, allocations: 0 / 0.7326 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.6673, allocations: 1.171 MB / 0.7338 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.6698, allocations: 361 kB / 0.7341 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3115/0.9813, allocations: 33.44 MB / 0.7668 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003729/0.985, allocations: 3.133 MB / 0.7698 GB, free: 171 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003561/0.9886, allocations: 1.707 MB / 0.7715 GB, free: 171 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002906/0.9915, allocations: 1.692 MB / 0.7731 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.184e-06/0.9915, allocations: 0 / 0.7731 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.092, allocations: 49.98 MB / 0.822 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.39, allocations: 11.7 kB / 0.822 GB, free: 142.7 MB / 0.5919 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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: 23.18224913504673]