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.001421/0.001421, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001556/0.001556, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2393/0.2393, allocations: 46.93 MB / 360.9 MB, free: 4.281 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.002122/0.002122, allocations: 67.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 66.04 MB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01513/0.3577, allocations: 12.33 MB / 0.5727 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008643/0.3664, allocations: 3.91 MB / 0.5765 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.3681, allocations: 67.75 kB / 0.5766 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.3713, allocations: 1.343 MB / 0.5779 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.376, allocations: 1.771 MB / 0.5796 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3772, allocations: 415.3 kB / 0.58 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005393/0.3826, allocations: 3.609 MB / 0.5835 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.3855, allocations: 1.83 MB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.3877, allocations: 1.226 MB / 0.5865 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.3907, allocations: 1.912 MB / 0.5884 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000718/0.3915, allocations: 240 kB / 0.5886 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.3933, allocations: 0.8386 MB / 0.5894 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3952, allocations: 1.597 MB / 0.591 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.3979, allocations: 1.879 MB / 0.5928 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007586/0.4055, allocations: 6.103 MB / 0.5988 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4055, allocations: 0 / 0.5988 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4055, allocations: 0 / 0.5988 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.4056, allocations: 3.938 kB / 0.5988 GB, free: 13.24 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.009326/0.415, allocations: 4.08 MB / 0.6028 GB, free: 9.105 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.415, allocations: 8.031 kB / 0.6028 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.4163, allocations: 0.7001 MB / 0.6035 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.4271, allocations: 3.106 MB / 0.6065 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/0.4322, allocations: 2.068 MB / 0.6085 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.4324, allocations: 192.8 kB / 0.6087 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009443/0.4333, allocations: 239.8 kB / 0.6089 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.4524, allocations: 10.19 MB / 0.6189 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.4525, allocations: 27.75 kB / 0.6189 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008908/0.4534, allocations: 119.8 kB / 0.619 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004343/0.4578, allocations: 2.459 MB / 0.6214 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01932/0.4771, allocations: 9.36 MB / 0.6306 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.5289, allocations: 31.4 MB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/0.5351, allocations: 2.34 MB / 0.6635 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.537, allocations: 0.9938 MB / 0.6645 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009888/0.538, allocations: 442.6 kB / 0.6649 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.538, allocations: 47.88 kB / 0.665 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.769e-06/0.538, allocations: 0 / 0.665 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02084/0.5588, allocations: 8.943 MB / 0.6737 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5589, allocations: 68.72 kB / 0.6738 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/0.563, allocations: 2.616 MB / 0.6763 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.5631, allocations: 53.64 kB / 0.6764 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002371/0.5655, allocations: 2.772 MB / 0.6791 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007904/0.5663, allocations: 0.7364 MB / 0.6798 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.5678, allocations: 0.9652 MB / 0.6807 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5679, allocations: 309.1 kB / 0.681 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/0.5704, allocations: 1.544 MB / 0.6825 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005107/0.5755, allocations: 4.375 MB / 0.6868 GB, free: 180 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008636/0.5842, allocations: 6.552 MB / 0.6932 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.901e-05/0.5843, allocations: 32 kB / 0.6932 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01073/0.595, allocations: 5.848 MB / 0.699 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.303e-05/0.5951, allocations: 48 kB / 0.699 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/0.5952, allocations: 104.2 kB / 0.6991 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.5957, allocations: 172.8 kB / 0.6993 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/0.599, allocations: 1.064 MB / 0.7003 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.6009, allocations: 1.689 MB / 0.702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/0.6037, allocations: 207.9 kB / 0.7021 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005802/0.6043, allocations: 296 kB / 0.7024 GB, free: 14.65 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.003648/0.608, allocations: 1.985 MB / 0.7044 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/0.6084, allocations: 262.2 kB / 0.7046 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.6128, allocations: 2.533 MB / 0.7071 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.6128, allocations: 20 kB / 0.7071 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.6128, allocations: 4 kB / 0.7071 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.6128, allocations: 7.969 kB / 0.7071 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.627, allocations: 7.926 MB / 0.7149 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/0.627, allocations: 12 kB / 0.7149 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.628, allocations: 243.6 kB / 0.7151 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001751/0.6282, allocations: 56.83 kB / 0.7152 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.6283, allocations: 39.98 kB / 0.7152 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.6299, allocations: 1.522 MB / 0.7167 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.6299, allocations: 15.94 kB / 0.7167 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005821/0.6357, allocations: 4.032 MB / 0.7206 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.6364, allocations: 234.3 kB / 0.7209 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.6368, allocations: 39.98 kB / 0.7209 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/0.6377, allocations: 55.95 kB / 0.721 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.6379, allocations: 132.5 kB / 0.7211 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6381, allocations: 60 kB / 0.7211 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002909/0.641, allocations: 1.607 MB / 0.7227 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.641, allocations: 0 / 0.7227 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003908/0.6449, allocations: 0.7734 MB / 0.7235 GB, free: 8.613 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.00637/0.6512, allocations: 4.711 MB / 0.7281 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006864/0.6581, allocations: 3.716 MB / 0.7317 GB, free: 32 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/0.6581, allocations: 4 kB / 0.7317 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.3021/0.9602, allocations: 1.158 MB / 0.7328 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9622, allocations: 346.5 kB / 0.7332 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03492/0.9972, allocations: 33.45 MB / 0.7658 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.9997, allocations: 3.129 MB / 0.7689 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002938/1.003, allocations: 1.71 MB / 0.7706 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/1.004, allocations: 1.698 MB / 0.7722 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.824e-06/1.004, allocations: 0 / 0.7722 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08566/1.09, allocations: 49.97 MB / 0.821 GB, free: 74.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.45/19.54, allocations: 4.062 kB / 0.821 GB, free: 74.13 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.902885545045137]