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.002038/0.002038, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002878/0.002878, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.456/1.456, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2434/0.2434, allocations: 46.94 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] 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.002191/0.002191, allocations: 79.88 kB / 0.4969 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3844, allocations: 66.08 MB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01546/0.3999, allocations: 10.63 MB / 0.5718 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.41, allocations: 3.674 MB / 0.5754 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.4127, allocations: 67.75 kB / 0.5755 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.4167, allocations: 1.296 MB / 0.5767 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005874/0.4226, allocations: 1.786 MB / 0.5785 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.4242, allocations: 419.3 kB / 0.5789 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00688/0.4311, allocations: 3.594 MB / 0.5824 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004017/0.4351, allocations: 1.836 MB / 0.5842 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.4382, allocations: 1.218 MB / 0.5854 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.4418, allocations: 1.923 MB / 0.5873 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.4429, allocations: 236 kB / 0.5875 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.4454, allocations: 0.7294 MB / 0.5882 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002763/0.4481, allocations: 1.601 MB / 0.5898 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003751/0.4519, allocations: 1.339 MB / 0.5911 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.4626, allocations: 6.118 MB / 0.597 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.4627, allocations: 0 / 0.597 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4627, allocations: 0 / 0.597 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002746/0.4629, allocations: 0 / 0.597 GB, free: 15.39 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.01229/0.4752, allocations: 4.084 MB / 0.601 GB, free: 11.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.4753, allocations: 8.031 kB / 0.601 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002015/0.4755, allocations: 93.02 kB / 0.6011 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00155/0.477, allocations: 0.704 MB / 0.6018 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.4882, allocations: 3.106 MB / 0.6048 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/0.494, allocations: 2.08 MB / 0.6069 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.4942, allocations: 188.6 kB / 0.6071 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.4953, allocations: 251.8 kB / 0.6073 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.5158, allocations: 10.18 MB / 0.6172 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.5159, allocations: 27.81 kB / 0.6173 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007017/0.5166, allocations: 115.8 kB / 0.6174 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004746/0.5214, allocations: 2.467 MB / 0.6198 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/0.542, allocations: 9.355 MB / 0.6289 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05436/0.5963, allocations: 29.88 MB / 0.6581 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/0.6024, allocations: 2.353 MB / 0.6604 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.6041, allocations: 0.9938 MB / 0.6614 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000847/0.605, allocations: 426.6 kB / 0.6618 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.605, allocations: 51.81 kB / 0.6618 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.871e-06/0.605, allocations: 0 / 0.6618 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02282/0.6279, allocations: 8.94 MB / 0.6706 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.6279, allocations: 72.66 kB / 0.6706 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/0.6322, allocations: 2.62 MB / 0.6732 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002687/0.6325, allocations: 53.69 kB / 0.6732 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002684/0.6351, allocations: 2.776 MB / 0.6759 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.6362, allocations: 0.7363 MB / 0.6767 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/0.6377, allocations: 0.9653 MB / 0.6776 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6378, allocations: 309 kB / 0.6779 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/0.6404, allocations: 1.54 MB / 0.6794 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005775/0.6462, allocations: 4.379 MB / 0.6837 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009532/0.6557, allocations: 6.555 MB / 0.6901 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.6558, allocations: 32 kB / 0.6901 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01347/0.6693, allocations: 5.841 MB / 0.6958 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.6695, allocations: 52.03 kB / 0.6959 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/0.6697, allocations: 100 kB / 0.696 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.6704, allocations: 172.8 kB / 0.6961 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.674, allocations: 1.068 MB / 0.6972 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.6767, allocations: 1.685 MB / 0.6988 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/0.6802, allocations: 211.9 kB / 0.699 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009823/0.6811, allocations: 288.1 kB / 0.6993 GB, free: 2.207 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.004681/0.6858, allocations: 1.994 MB / 0.7012 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008194/0.6866, allocations: 262.3 kB / 0.7015 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/0.6921, allocations: 2.53 MB / 0.704 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/0.6922, allocations: 23.98 kB / 0.704 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.6922, allocations: 0 / 0.704 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.6922, allocations: 7.969 kB / 0.704 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.7099, allocations: 7.719 MB / 0.7115 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.7099, allocations: 11.94 kB / 0.7115 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.711, allocations: 247.6 kB / 0.7118 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.7112, allocations: 52.83 kB / 0.7118 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.7113, allocations: 48.58 kB / 0.7119 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.7131, allocations: 1.519 MB / 0.7134 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/0.7131, allocations: 15.94 kB / 0.7134 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/0.7204, allocations: 4.032 MB / 0.7173 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008642/0.7212, allocations: 234.2 kB / 0.7175 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.7215, allocations: 35.98 kB / 0.7176 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.7223, allocations: 59.89 kB / 0.7176 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.7226, allocations: 124.6 kB / 0.7177 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.7228, allocations: 63.98 kB / 0.7178 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00348/0.7262, allocations: 1.607 MB / 0.7194 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7262, allocations: 4.062 kB / 0.7194 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005449/0.7317, allocations: 0.7772 MB / 0.7201 GB, free: 12.36 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.007577/0.7393, allocations: 4.699 MB / 0.7247 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007097/0.7464, allocations: 3.716 MB / 0.7284 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/0.7464, allocations: 7.938 kB / 0.7284 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7482, allocations: 1.167 MB / 0.7295 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.7503, allocations: 344.2 kB / 0.7298 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2847/1.035, allocations: 33.44 MB / 0.7625 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/1.038, allocations: 2.589 MB / 0.765 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002851/1.041, allocations: 1.709 MB / 0.7667 GB, free: 129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/1.042, allocations: 1.69 MB / 0.7683 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.042, allocations: 0 / 0.7683 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07133/1.114, allocations: 47.53 MB / 0.8148 GB, free: 80.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.42, allocations: 11.91 kB / 0.8148 GB, free: 80.31 MB / 0.5606 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.083345156046562]