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.001696/0.001696, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002/0.002, allocations: 214.8 kB / 23.73 MB, free: 4.406 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.372/1.372, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2169/0.2169, allocations: 46.95 MB / 360.8 MB, free: 3.918 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="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.002294/0.002294, allocations: 79.88 kB / 0.4962 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3061, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01323/0.3193, allocations: 10.7 MB / 0.5712 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008445/0.3278, allocations: 3.684 MB / 0.5748 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.3296, allocations: 67.75 kB / 0.5748 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.3327, allocations: 1.308 MB / 0.5761 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004427/0.3371, allocations: 1.779 MB / 0.5778 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3382, allocations: 419.3 kB / 0.5782 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.343, allocations: 3.599 MB / 0.5817 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.3456, allocations: 1.823 MB / 0.5835 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3477, allocations: 1.218 MB / 0.5847 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.3506, allocations: 1.837 MB / 0.5865 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009803/0.3516, allocations: 240 kB / 0.5867 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.3537, allocations: 0.7176 MB / 0.5874 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002015/0.3557, allocations: 1.612 MB / 0.589 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.3577, allocations: 1.339 MB / 0.5903 GB, free: 5.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007687/0.3654, allocations: 6.115 MB / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3654, allocations: 4 kB / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3654, allocations: 0 / 0.5963 GB, free: 15.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001769/0.3656, allocations: 0 / 0.5963 GB, free: 15.41 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.00688/0.3724, allocations: 4.084 MB / 0.6003 GB, free: 11.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3725, allocations: 8.031 kB / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000868/0.3733, allocations: 0.7079 MB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.3837, allocations: 3.102 MB / 0.604 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005323/0.389, allocations: 2.083 MB / 0.606 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.3892, allocations: 188.8 kB / 0.6062 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3899, allocations: 243.8 kB / 0.6065 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.4061, allocations: 10.19 MB / 0.6164 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.477e-05/0.4062, allocations: 27.81 kB / 0.6164 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.4066, allocations: 111.8 kB / 0.6165 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004152/0.4107, allocations: 2.467 MB / 0.6189 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.4284, allocations: 9.329 MB / 0.6281 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04199/0.4704, allocations: 29.9 MB / 0.6573 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005317/0.4757, allocations: 2.329 MB / 0.6595 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4772, allocations: 1 MB / 0.6605 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008567/0.478, allocations: 434.6 kB / 0.6609 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.4781, allocations: 47.88 kB / 0.661 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.398e-06/0.4781, allocations: 3.938 kB / 0.661 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.01966/0.4978, allocations: 8.939 MB / 0.6697 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4978, allocations: 76.66 kB / 0.6698 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/0.5015, allocations: 2.782 MB / 0.6725 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5016, allocations: 45.7 kB / 0.6725 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/0.5036, allocations: 2.784 MB / 0.6752 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007238/0.5043, allocations: 0.7363 MB / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.5055, allocations: 0.9731 MB / 0.6769 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5056, allocations: 301.1 kB / 0.6772 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.508, allocations: 1.544 MB / 0.6787 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/0.5127, allocations: 4.371 MB / 0.683 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/0.5207, allocations: 6.556 MB / 0.6894 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-05/0.5208, allocations: 28 kB / 0.6894 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009992/0.5308, allocations: 5.848 MB / 0.6951 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/0.5308, allocations: 49 kB / 0.6952 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.531, allocations: 100 kB / 0.6953 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.5313, allocations: 176.8 kB / 0.6954 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.5343, allocations: 1.061 MB / 0.6965 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.536, allocations: 1.689 MB / 0.6981 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.5383, allocations: 215.9 kB / 0.6983 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/0.5387, allocations: 288 kB / 0.6986 GB, free: 2.176 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.003102/0.5418, allocations: 1.994 MB / 0.7005 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/0.5422, allocations: 258.5 kB / 0.7008 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.546, allocations: 2.533 MB / 0.7033 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.5461, allocations: 27.94 kB / 0.7033 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5461, allocations: 0 / 0.7033 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5461, allocations: 3.984 kB / 0.7033 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.5594, allocations: 7.716 MB / 0.7108 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.5594, allocations: 15.98 kB / 0.7108 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/0.5604, allocations: 247.5 kB / 0.7111 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.5606, allocations: 56.83 kB / 0.7111 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.5607, allocations: 43.98 kB / 0.7112 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.5621, allocations: 1.527 MB / 0.7127 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.5622, allocations: 11.94 kB / 0.7127 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.5676, allocations: 4.025 MB / 0.7166 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.5682, allocations: 238.2 kB / 0.7168 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.5685, allocations: 35.98 kB / 0.7169 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.5692, allocations: 63.88 kB / 0.7169 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.5694, allocations: 120.6 kB / 0.717 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.5696, allocations: 63.98 kB / 0.7171 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002457/0.572, allocations: 1.607 MB / 0.7187 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.572, allocations: 0 / 0.7187 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003525/0.5755, allocations: 0.7734 MB / 0.7194 GB, free: 12.34 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.006276/0.5818, allocations: 4.707 MB / 0.724 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006151/0.588, allocations: 3.709 MB / 0.7277 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.588, allocations: 0 / 0.7277 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.5898, allocations: 1.182 MB / 0.7288 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.5918, allocations: 350.9 kB / 0.7291 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2701/0.8619, allocations: 33.44 MB / 0.7618 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003132/0.8651, allocations: 2.585 MB / 0.7643 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003385/0.8685, allocations: 1.712 MB / 0.766 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/0.8702, allocations: 1.694 MB / 0.7676 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.8702, allocations: 0 / 0.7676 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07965/0.9499, allocations: 45.44 MB / 0.812 GB, free: 82.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.63, allocations: 0 / 0.812 GB, free: 82.47 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.700786841101944]