Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001844/0.001844, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002468/0.002468, allocations: 201.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 46.96 MB / 360.9 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3159, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01333/0.3292, allocations: 10.73 MB / 0.5711 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00818/0.3374, allocations: 3.676 MB / 0.5747 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.339, allocations: 71.75 kB / 0.5747 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.3418, allocations: 1.3 MB / 0.576 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.3458, allocations: 1.779 MB / 0.5777 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3468, allocations: 423.2 kB / 0.5781 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004743/0.3516, allocations: 3.595 MB / 0.5816 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.3537, allocations: 1.838 MB / 0.5834 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.3552, allocations: 1.222 MB / 0.5846 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.3577, allocations: 1.912 MB / 0.5865 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.3581, allocations: 236 kB / 0.5867 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3595, allocations: 0.7293 MB / 0.5874 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.3611, allocations: 1.604 MB / 0.589 GB, free: 6.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.3626, allocations: 1.342 MB / 0.5903 GB, free: 5.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.3693, allocations: 6.122 MB / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3693, allocations: 0 / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3693, allocations: 0 / 0.5963 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001153/0.3694, allocations: 0 / 0.5963 GB, free: 15.48 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.006933/0.3763, allocations: 4.084 MB / 0.6003 GB, free: 11.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3764, allocations: 8.031 kB / 0.6003 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008572/0.3772, allocations: 0.6962 MB / 0.601 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.3877, allocations: 3.11 MB / 0.604 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005795/0.3934, allocations: 2.087 MB / 0.606 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.3936, allocations: 196.8 kB / 0.6062 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006154/0.3942, allocations: 239.8 kB / 0.6065 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.41, allocations: 10.19 MB / 0.6164 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/0.4101, allocations: 19.81 kB / 0.6164 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.4104, allocations: 119.8 kB / 0.6165 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003895/0.4143, allocations: 2.463 MB / 0.6189 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.4314, allocations: 9.329 MB / 0.6281 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/0.4762, allocations: 29.89 MB / 0.6573 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005486/0.4817, allocations: 2.333 MB / 0.6595 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.4832, allocations: 0.9937 MB / 0.6605 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008673/0.4841, allocations: 442.6 kB / 0.6609 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.4841, allocations: 47.86 kB / 0.661 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.158e-06/0.4841, allocations: 0 / 0.661 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.01965/0.5038, allocations: 8.943 MB / 0.6697 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.5038, allocations: 64.72 kB / 0.6698 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.5074, allocations: 2.786 MB / 0.6725 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5075, allocations: 45.7 kB / 0.6725 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.5095, allocations: 2.78 MB / 0.6752 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/0.5102, allocations: 0.7363 MB / 0.676 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.5114, allocations: 0.973 MB / 0.6769 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5115, allocations: 301.1 kB / 0.6772 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.5138, allocations: 1.544 MB / 0.6787 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/0.5184, allocations: 4.375 MB / 0.683 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007789/0.5262, allocations: 6.555 MB / 0.6894 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-05/0.5262, allocations: 28 kB / 0.6894 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.00901/0.5352, allocations: 5.836 MB / 0.6951 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.5353, allocations: 51.94 kB / 0.6952 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.5354, allocations: 96.91 kB / 0.6952 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/0.5357, allocations: 180.8 kB / 0.6954 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.5387, allocations: 1.064 MB / 0.6965 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.5404, allocations: 1.693 MB / 0.6981 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.5427, allocations: 203.9 kB / 0.6983 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/0.5431, allocations: 296 kB / 0.6986 GB, free: 2.258 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.002744/0.5458, allocations: 1.996 MB / 0.7005 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.5462, allocations: 254.3 kB / 0.7008 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.55, allocations: 2.537 MB / 0.7033 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/0.55, allocations: 20 kB / 0.7033 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.55, allocations: 4 kB / 0.7033 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.55, allocations: 11.97 kB / 0.7033 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.5627, allocations: 7.716 MB / 0.7108 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5627, allocations: 11.94 kB / 0.7108 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009686/0.5637, allocations: 247.6 kB / 0.7111 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.5638, allocations: 56.83 kB / 0.7111 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5639, allocations: 43.97 kB / 0.7112 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.5654, allocations: 1.518 MB / 0.7127 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.5654, allocations: 15.94 kB / 0.7127 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.5707, allocations: 4.028 MB / 0.7166 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.5713, allocations: 234.2 kB / 0.7168 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.5716, allocations: 43.98 kB / 0.7169 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.5723, allocations: 63.86 kB / 0.7169 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.5725, allocations: 124.6 kB / 0.717 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.5727, allocations: 59.98 kB / 0.7171 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002261/0.5749, allocations: 1.603 MB / 0.7187 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5749, allocations: 0 / 0.7187 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003217/0.5781, allocations: 0.7734 MB / 0.7194 GB, free: 12.42 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.005828/0.584, allocations: 4.711 MB / 0.724 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005803/0.5898, allocations: 3.701 MB / 0.7276 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.5898, allocations: 4.125 kB / 0.7276 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.5915, allocations: 1.178 MB / 0.7288 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.5933, allocations: 352.9 kB / 0.7291 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2751/0.8684, allocations: 33.44 MB / 0.7618 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.871, allocations: 2.585 MB / 0.7643 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002894/0.8739, allocations: 1.707 MB / 0.766 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.8755, allocations: 1.698 MB / 0.7676 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.764e-06/0.8755, allocations: 0 / 0.7676 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09904/0.9745, allocations: 47.67 MB / 0.8142 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.06, allocations: 3.562 kB / 0.8142 GB, free: 80.39 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.19720523399883]