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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 76 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0125/0.1287, allocations: 12.26 MB / 492.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007409/0.1362, allocations: 3.859 MB / 496.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.1379, allocations: 63.88 kB / 496.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.1407, allocations: 1.315 MB / 497.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.145, allocations: 1.724 MB / 499.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.1463, allocations: 415.3 kB / 499.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.1512, allocations: 3.598 MB / 0.4916 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/0.1543, allocations: 2.005 MB / 0.4935 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.1563, allocations: 1.191 MB / 0.4947 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.1588, allocations: 1.74 MB / 0.4964 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007642/0.1596, allocations: 236 kB / 0.4966 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.1617, allocations: 0.8074 MB / 0.4974 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001873/0.1635, allocations: 1.57 MB / 0.4989 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.1663, allocations: 1.875 MB / 0.5007 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.242/0.4082, allocations: 5.779 MB / 0.5064 GB, free: 18.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4083, allocations: 1.875 kB / 0.5064 GB, free: 18.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4083, allocations: 0 / 0.5064 GB, free: 18.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000222/0.4085, allocations: 1.438 kB / 0.5064 GB, free: 18.39 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.00831/0.4168, allocations: 4.034 MB / 0.5103 GB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4169, allocations: 10.09 kB / 0.5103 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.418, allocations: 0.7011 MB / 0.511 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.4297, allocations: 3.081 MB / 0.514 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007749/0.4375, allocations: 2.113 MB / 0.5161 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.4378, allocations: 186 kB / 0.5163 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.4392, allocations: 251.1 kB / 0.5165 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.4576, allocations: 10.18 MB / 0.5265 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.745e-05/0.4578, allocations: 26.44 kB / 0.5265 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004123/0.4582, allocations: 116.7 kB / 0.5266 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/0.4621, allocations: 2.472 MB / 0.529 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.4799, allocations: 9.349 MB / 0.5381 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04266/0.5226, allocations: 31.66 MB / 0.5691 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006009/0.5287, allocations: 3.352 MB / 0.5723 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.5303, allocations: 1.073 MB / 0.5734 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.5315, allocations: 1.314 MB / 0.5747 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.5316, allocations: 48.8 kB / 0.5747 GB, free: 1.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 4.88e-06/0.5316, allocations: 0 / 0.5747 GB, free: 1.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.01978/0.5514, allocations: 9.097 MB / 0.5836 GB, free: 8.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5515, allocations: 64.72 kB / 0.5837 GB, free: 8.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/0.5554, allocations: 2.616 MB / 0.5862 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.5555, allocations: 45.7 kB / 0.5862 GB, free: 5.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.5574, allocations: 2.663 MB / 0.5889 GB, free: 3.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007027/0.5582, allocations: 0.7133 MB / 0.5895 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.5596, allocations: 0.9597 MB / 0.5905 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5598, allocations: 305.1 kB / 0.5908 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.562, allocations: 1.54 MB / 0.5923 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.5662, allocations: 4.373 MB / 0.5965 GB, free: 9.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007079/0.5733, allocations: 6.549 MB / 0.6029 GB, free: 2.441 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.829e-05/0.5734, allocations: 32 kB / 0.603 GB, free: 2.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009102/0.5825, allocations: 5.831 MB / 0.6087 GB, free: 12.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.5827, allocations: 54.44 kB / 0.6087 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.5828, allocations: 100 kB / 0.6088 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.5832, allocations: 172.8 kB / 0.609 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/0.5864, allocations: 1.065 MB / 0.61 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.5881, allocations: 1.797 MB / 0.6118 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.5908, allocations: 210.8 kB / 0.612 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/0.5914, allocations: 297.9 kB / 0.6123 GB, free: 9.164 MB / 462.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.003217/0.5946, allocations: 1.992 MB / 0.6142 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.5951, allocations: 252.9 kB / 0.6144 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.599, allocations: 2.533 MB / 0.6169 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.5991, allocations: 23.2 kB / 0.6169 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5991, allocations: 0 / 0.6169 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.5991, allocations: 7.969 kB / 0.617 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.6137, allocations: 7.959 MB / 0.6247 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.6138, allocations: 11.94 kB / 0.6247 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6149, allocations: 247.6 kB / 0.625 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.6151, allocations: 60.89 kB / 0.625 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.6152, allocations: 39.98 kB / 0.6251 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.6167, allocations: 1.625 MB / 0.6267 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.6167, allocations: 15.94 kB / 0.6267 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.622, allocations: 4.024 MB / 0.6306 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.6228, allocations: 297.8 kB / 0.6309 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000513/0.6233, allocations: 37.31 kB / 0.6309 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.6243, allocations: 59.14 kB / 0.631 GB, free: 5.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.6246, allocations: 124.6 kB / 0.6311 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.6247, allocations: 63.94 kB / 0.6312 GB, free: 5.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003346/0.6281, allocations: 1.603 MB / 0.6327 GB, free: 3.703 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6281, allocations: 0 / 0.6327 GB, free: 3.703 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004545/0.6326, allocations: 0.7772 MB / 0.6335 GB, free: 2.93 MB / 478.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.006039/0.6387, allocations: 4.688 MB / 0.6381 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008439/0.6471, allocations: 5.492 MB / 0.6434 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.905e-05/0.6472, allocations: 8.062 kB / 0.6434 GB, free: 8.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6489, allocations: 1.225 MB / 0.6446 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.6512, allocations: 354.9 kB / 0.645 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/0.7031, allocations: 35.69 MB / 0.6798 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00435/0.7075, allocations: 3.129 MB / 0.6829 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004041/0.7115, allocations: 1.71 MB / 0.6845 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002351/0.7139, allocations: 1.698 MB / 0.6862 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.7139, allocations: 0 / 0.6862 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/0.9979, allocations: 48.39 MB / 0.7335 GB, free: 196.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/11.11, allocations: 15.28 kB / 0.7335 GB, free: 196.2 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches