Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241.8 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2452/0.2452, allocations: 44.18 MB / 336.1 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.02 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0293/0.1572, allocations: 29.71 MB / 498.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.1742, allocations: 6.749 MB / 0.4932 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008189/0.1824, allocations: 115.8 kB / 0.4934 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004207/0.1867, allocations: 1.277 MB / 0.4946 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006025/0.1928, allocations: 1.643 MB / 0.4962 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1942, allocations: 391.4 kB / 0.4966 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00764/0.2019, allocations: 4.981 MB / 0.5014 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2662/0.4681, allocations: 1.978 MB / 0.5034 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.4709, allocations: 1.042 MB / 0.5044 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.4739, allocations: 1.837 MB / 0.5062 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.4748, allocations: 173.1 kB / 0.5064 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.4768, allocations: 0.8135 MB / 0.5071 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.4788, allocations: 1.537 MB / 0.5086 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.481, allocations: 1.838 MB / 0.5104 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007438/0.4884, allocations: 5.795 MB / 0.5161 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4885, allocations: 1.062 kB / 0.5161 GB, free: 9.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4885, allocations: 1.094 kB / 0.5161 GB, free: 9.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.4887, allocations: 0 / 0.5161 GB, free: 9.891 MB / 382.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.008964/0.4976, allocations: 4.075 MB / 0.5201 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4977, allocations: 12.66 kB / 0.5201 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00123/0.4989, allocations: 0.7009 MB / 0.5208 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.5102, allocations: 3.084 MB / 0.5238 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0052/0.5154, allocations: 2.213 MB / 0.526 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5156, allocations: 186.2 kB / 0.5261 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007899/0.5164, allocations: 257 kB / 0.5264 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.5331, allocations: 10.17 MB / 0.5363 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.698e-05/0.5333, allocations: 21.34 kB / 0.5363 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.5336, allocations: 117.1 kB / 0.5364 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003514/0.5372, allocations: 2.475 MB / 0.5389 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.5561, allocations: 9.35 MB / 0.548 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04786/0.604, allocations: 31.67 MB / 0.5789 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.6103, allocations: 3.355 MB / 0.5822 GB, free: 4.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.612, allocations: 1.072 MB / 0.5832 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.6131, allocations: 1.308 MB / 0.5845 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6132, allocations: 48.75 kB / 0.5846 GB, free: 2.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.96e-06/0.6132, allocations: 0 / 0.5846 GB, free: 2.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02068/0.6339, allocations: 9.101 MB / 0.5934 GB, free: 9.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.6339, allocations: 72.7 kB / 0.5935 GB, free: 9.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.6387, allocations: 2.615 MB / 0.5961 GB, free: 6.383 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.845e-05/0.6388, allocations: 48.8 kB / 0.5961 GB, free: 6.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.641, allocations: 2.671 MB / 0.5987 GB, free: 3.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/0.6417, allocations: 0.6973 MB / 0.5994 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/0.6431, allocations: 0.9704 MB / 0.6004 GB, free: 1.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6433, allocations: 309.1 kB / 0.6007 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.6457, allocations: 1.536 MB / 0.6022 GB, free: 140 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004506/0.6502, allocations: 4.376 MB / 0.6064 GB, free: 10.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007472/0.6577, allocations: 6.551 MB / 0.6128 GB, free: 2.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.946e-05/0.6578, allocations: 28 kB / 0.6128 GB, free: 2.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01061/0.6684, allocations: 5.839 MB / 0.6185 GB, free: 13.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.6685, allocations: 47.94 kB / 0.6186 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.6687, allocations: 100.9 kB / 0.6187 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.6691, allocations: 176.1 kB / 0.6189 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00335/0.6725, allocations: 1.065 MB / 0.6199 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.6741, allocations: 1.67 MB / 0.6215 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/0.6771, allocations: 215.9 kB / 0.6217 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000545/0.6777, allocations: 297.9 kB / 0.622 GB, free: 10.04 MB / 478.1 MB 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.003599/0.6813, allocations: 1.989 MB / 0.624 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.6817, allocations: 248.7 kB / 0.6242 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.6857, allocations: 2.536 MB / 0.6267 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/0.6857, allocations: 27.94 kB / 0.6267 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6857, allocations: 0 / 0.6267 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.6858, allocations: 3.984 kB / 0.6267 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.702, allocations: 7.962 MB / 0.6345 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.702, allocations: 8 kB / 0.6345 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7031, allocations: 247.6 kB / 0.6347 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.7032, allocations: 57.08 kB / 0.6348 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.7034, allocations: 47.98 kB / 0.6348 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.7047, allocations: 1.507 MB / 0.6363 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.7047, allocations: 15.88 kB / 0.6363 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.7101, allocations: 4.025 MB / 0.6402 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009143/0.7111, allocations: 297.9 kB / 0.6405 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/0.7116, allocations: 41.75 kB / 0.6406 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7128, allocations: 55.95 kB / 0.6406 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.7131, allocations: 127.9 kB / 0.6407 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.7132, allocations: 56 kB / 0.6408 GB, free: 6.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003629/0.7168, allocations: 1.608 MB / 0.6424 GB, free: 4.793 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7168, allocations: 3.938 kB / 0.6424 GB, free: 4.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004735/0.7216, allocations: 0.8002 MB / 0.6432 GB, free: 3.992 MB / 494.1 MB 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.006059/0.7276, allocations: 4.688 MB / 0.6477 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006536/0.7342, allocations: 3.84 MB / 0.6515 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.7342, allocations: 0 / 0.6515 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.7359, allocations: 1.233 MB / 0.6527 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.7384, allocations: 336.3 kB / 0.653 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06388/0.8023, allocations: 37.66 MB / 0.6898 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006789/0.8091, allocations: 3.134 MB / 0.6928 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004476/0.8136, allocations: 1.713 MB / 0.6945 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002888/0.8165, allocations: 1.694 MB / 0.6962 GB, free: 8.086 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.8165, allocations: 0 / 0.6962 GB, free: 8.086 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3409/1.157, allocations: 47.61 MB / 0.7427 GB, free: 185.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.158, allocations: 216 kB / 0.7429 GB, free: 185.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.404, allocations: 3.75 kB / 0.7429 GB, free: 185.7 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches