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.001245/0.001245, allocations: 104 kB / 17.32 MB, free: 5.988 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.001307/0.001307, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.336/1.336, allocations: 222.9 MB / 241.9 MB, free: 15.48 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.2265/0.2265, allocations: 44.17 MB / 336.3 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 64.16 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1659, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03125/0.1972, allocations: 29.7 MB / 498.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2138, allocations: 6.664 MB / 0.4933 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006018/0.2199, allocations: 119.8 kB / 0.4935 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.2234, allocations: 1.235 MB / 0.4947 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.2281, allocations: 1.643 MB / 0.4963 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2293, allocations: 399.4 kB / 0.4967 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00555/0.2349, allocations: 3.586 MB / 0.5002 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.2384, allocations: 2.099 MB / 0.5022 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2534/0.4918, allocations: 1.202 MB / 0.5034 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.4951, allocations: 1.91 MB / 0.5052 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007285/0.4958, allocations: 239.3 kB / 0.5055 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.4978, allocations: 0.8472 MB / 0.5063 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.4997, allocations: 1.612 MB / 0.5079 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.5018, allocations: 1.919 MB / 0.5097 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007797/0.5096, allocations: 5.889 MB / 0.5155 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5097, allocations: 1.156 kB / 0.5155 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5097, allocations: 0 / 0.5155 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002602/0.5099, allocations: 2.812 kB / 0.5155 GB, free: 11.14 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.01406/0.524, allocations: 4.078 MB / 0.5195 GB, free: 9.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.5241, allocations: 10.25 kB / 0.5195 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001824/0.5259, allocations: 0.7033 MB / 0.5202 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.5366, allocations: 3.088 MB / 0.5232 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.5419, allocations: 2.21 MB / 0.5254 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.5422, allocations: 190.6 kB / 0.5255 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008362/0.543, allocations: 253.2 kB / 0.5258 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.5588, allocations: 10.17 MB / 0.5357 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.872e-05/0.559, allocations: 22.72 kB / 0.5357 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.5593, allocations: 118.9 kB / 0.5358 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003323/0.5627, allocations: 2.464 MB / 0.5383 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.5821, allocations: 9.362 MB / 0.5474 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05734/0.6395, allocations: 31.66 MB / 0.5783 GB, free: 9.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006746/0.6463, allocations: 3.354 MB / 0.5816 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.6481, allocations: 1.073 MB / 0.5826 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.6495, allocations: 1.308 MB / 0.5839 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.6496, allocations: 43.88 kB / 0.584 GB, free: 3.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 6.442e-06/0.6496, allocations: 0 / 0.584 GB, free: 3.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02356/0.6732, allocations: 9.107 MB / 0.5928 GB, free: 9.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.6733, allocations: 64.72 kB / 0.5929 GB, free: 9.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/0.6795, allocations: 2.611 MB / 0.5955 GB, free: 7.227 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.6797, allocations: 53.64 kB / 0.5955 GB, free: 7.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/0.682, allocations: 2.666 MB / 0.5981 GB, free: 4.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008295/0.6828, allocations: 0.7114 MB / 0.5988 GB, free: 3.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.6847, allocations: 0.9605 MB / 0.5997 GB, free: 2.824 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6848, allocations: 309 kB / 0.6 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.6875, allocations: 1.54 MB / 0.6015 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/0.6922, allocations: 4.376 MB / 0.6058 GB, free: 11.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007951/0.7002, allocations: 6.561 MB / 0.6122 GB, free: 3.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-05/0.7003, allocations: 28 kB / 0.6123 GB, free: 3.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01066/0.711, allocations: 5.834 MB / 0.6179 GB, free: 14.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.7112, allocations: 51.94 kB / 0.618 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003056/0.7116, allocations: 100 kB / 0.6181 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/0.7121, allocations: 173.4 kB / 0.6183 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/0.7156, allocations: 1.065 MB / 0.6193 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.7174, allocations: 1.791 MB / 0.621 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.7205, allocations: 211.9 kB / 0.6213 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/0.7211, allocations: 291.9 kB / 0.6215 GB, free: 10.75 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.004275/0.7254, allocations: 1.997 MB / 0.6235 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/0.726, allocations: 248.7 kB / 0.6237 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.7307, allocations: 2.531 MB / 0.6262 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/0.7307, allocations: 20 kB / 0.6262 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.7307, allocations: 4 kB / 0.6262 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.7308, allocations: 11.97 kB / 0.6262 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.7485, allocations: 7.951 MB / 0.634 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/0.7486, allocations: 12.22 kB / 0.634 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.7497, allocations: 256.2 kB / 0.6342 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.7499, allocations: 56.83 kB / 0.6343 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.7501, allocations: 47.03 kB / 0.6343 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.7515, allocations: 1.625 MB / 0.6359 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-05/0.7516, allocations: 15.94 kB / 0.6359 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/0.7573, allocations: 4.02 MB / 0.6399 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007709/0.7581, allocations: 301.8 kB / 0.6402 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/0.7587, allocations: 39.11 kB / 0.6402 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.7598, allocations: 55.95 kB / 0.6402 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.7601, allocations: 120.8 kB / 0.6404 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.7602, allocations: 75.67 kB / 0.6404 GB, free: 7.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00338/0.7636, allocations: 1.608 MB / 0.642 GB, free: 5.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7636, allocations: 0 / 0.642 GB, free: 5.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004622/0.7683, allocations: 0.7891 MB / 0.6428 GB, free: 4.672 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.006276/0.7746, allocations: 4.709 MB / 0.6474 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009947/0.7845, allocations: 5.479 MB / 0.6527 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.7846, allocations: 0 / 0.6527 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.7865, allocations: 1.237 MB / 0.6539 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.7895, allocations: 352.9 kB / 0.6543 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07882/0.8684, allocations: 37.66 MB / 0.691 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006497/0.8749, allocations: 3.13 MB / 0.6941 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004329/0.8793, allocations: 1.714 MB / 0.6958 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00317/0.8825, allocations: 1.698 MB / 0.6974 GB, free: 7.09 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.8825, allocations: 0 / 0.6974 GB, free: 7.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/1.183, allocations: 48.36 MB / 0.7447 GB, free: 186.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.183, allocations: 210.7 kB / 0.7449 GB, free: 186.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/4.655, allocations: 3.625 kB / 0.7449 GB, free: 186.4 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