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.002184/0.002184, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002053/0.002053, allocations: 214 kB / 23.74 MB, free: 4.66 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.668/1.668, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2622/0.2622, allocations: 46.93 MB / 360.8 MB, free: 4.16 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 79.88 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3737, allocations: 66.09 MB / 0.5607 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01646/0.3902, allocations: 12.33 MB / 0.5728 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.3995, allocations: 3.902 MB / 0.5766 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.4014, allocations: 71.75 kB / 0.5767 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003898/0.4053, allocations: 1.35 MB / 0.578 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.4109, allocations: 1.767 MB / 0.5797 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.4124, allocations: 427.2 kB / 0.5801 GB, free: 360 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006097/0.4185, allocations: 3.6 MB / 0.5836 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003589/0.4221, allocations: 1.834 MB / 0.5854 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.4248, allocations: 1.222 MB / 0.5866 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003541/0.4284, allocations: 1.919 MB / 0.5885 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.4294, allocations: 240 kB / 0.5887 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.4319, allocations: 0.8386 MB / 0.5895 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002444/0.4343, allocations: 1.604 MB / 0.5911 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003596/0.4379, allocations: 1.867 MB / 0.5929 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009499/0.4474, allocations: 6.103 MB / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.4474, allocations: 0 / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4474, allocations: 0 / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002545/0.4477, allocations: 0 / 0.5989 GB, free: 13.04 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.01042/0.4581, allocations: 4.08 MB / 0.6029 GB, free: 8.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4582, allocations: 11.97 kB / 0.6029 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001953/0.4601, allocations: 0.704 MB / 0.6036 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.472, allocations: 3.106 MB / 0.6066 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/0.4778, allocations: 2.06 MB / 0.6086 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.478, allocations: 196.8 kB / 0.6088 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.4792, allocations: 243.8 kB / 0.609 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.4994, allocations: 10.18 MB / 0.619 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.4995, allocations: 27.81 kB / 0.619 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008653/0.5004, allocations: 119.8 kB / 0.6191 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004475/0.5049, allocations: 2.463 MB / 0.6215 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.5254, allocations: 9.356 MB / 0.6307 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05947/0.5848, allocations: 31.4 MB / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.5914, allocations: 2.344 MB / 0.6636 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.5934, allocations: 0.9938 MB / 0.6646 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.5944, allocations: 442.6 kB / 0.665 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.5945, allocations: 43.88 kB / 0.665 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 8.225e-06/0.5945, allocations: 0 / 0.665 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02444/0.6189, allocations: 8.948 MB / 0.6738 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.619, allocations: 68.72 kB / 0.6739 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/0.624, allocations: 2.616 MB / 0.6764 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002988/0.6243, allocations: 53.64 kB / 0.6765 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.627, allocations: 2.772 MB / 0.6792 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.628, allocations: 0.7364 MB / 0.6799 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002282/0.6303, allocations: 0.9731 MB / 0.6808 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6304, allocations: 305.1 kB / 0.6811 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.6335, allocations: 1.54 MB / 0.6826 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/0.6397, allocations: 4.375 MB / 0.6869 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/0.6499, allocations: 6.563 MB / 0.6933 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/0.65, allocations: 28 kB / 0.6933 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01266/0.6626, allocations: 5.844 MB / 0.699 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.6628, allocations: 48 kB / 0.6991 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/0.663, allocations: 96 kB / 0.6992 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.6635, allocations: 172.8 kB / 0.6993 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/0.6673, allocations: 1.068 MB / 0.7004 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.6695, allocations: 1.69 MB / 0.702 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/0.6728, allocations: 220 kB / 0.7022 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/0.6737, allocations: 292 kB / 0.7025 GB, free: 14.43 MB / 0.545 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.004568/0.6782, allocations: 1.985 MB / 0.7045 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/0.6789, allocations: 258.2 kB / 0.7047 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005442/0.6843, allocations: 2.533 MB / 0.7072 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.785e-05/0.6844, allocations: 20 kB / 0.7072 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.6844, allocations: 4 kB / 0.7072 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.6844, allocations: 7.969 kB / 0.7072 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.7017, allocations: 7.917 MB / 0.7149 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.7017, allocations: 8.969 kB / 0.715 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7029, allocations: 247.6 kB / 0.7152 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.7031, allocations: 64.77 kB / 0.7153 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/0.7033, allocations: 39.98 kB / 0.7153 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.7051, allocations: 1.527 MB / 0.7168 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.566e-05/0.7051, allocations: 15.88 kB / 0.7168 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/0.7117, allocations: 4.032 MB / 0.7207 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.7125, allocations: 226.2 kB / 0.721 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005719/0.7131, allocations: 43.92 kB / 0.721 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.7142, allocations: 55.95 kB / 0.721 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.7146, allocations: 128.6 kB / 0.7212 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.7148, allocations: 71.97 kB / 0.7212 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003323/0.7181, allocations: 1.6 MB / 0.7228 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7181, allocations: 0 / 0.7228 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004347/0.7224, allocations: 0.7773 MB / 0.7236 GB, free: 8.383 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.007652/0.7301, allocations: 4.699 MB / 0.7281 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2991/1.029, allocations: 3.714 MB / 0.7318 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/1.029, allocations: 1.688 kB / 0.7318 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.032, allocations: 1.168 MB / 0.7329 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.035, allocations: 342.2 kB / 0.7332 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0566/1.091, allocations: 33.45 MB / 0.7659 GB, free: 130 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00546/1.097, allocations: 3.13 MB / 0.769 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004033/1.101, allocations: 1.71 MB / 0.7706 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/1.104, allocations: 1.69 MB / 0.7723 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.354e-06/1.104, allocations: 4 kB / 0.7723 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09744/1.201, allocations: 49.95 MB / 0.8211 GB, free: 73.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/21.06, allocations: 8.047 kB / 0.8211 GB, free: 73.69 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.70377037092112]