Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.000803, allocations: 92.73 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2912/0.2912, allocations: 43.55 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003315, allocations: 16 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09858, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1965/0.2951, allocations: 27.13 MB / 0.5059 GB, free: 31.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3081, allocations: 6.361 MB / 0.5121 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005559/0.3137, allocations: 120.3 kB / 0.5122 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.3174, allocations: 1.288 MB / 0.5135 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009726/0.3271, allocations: 4.039 MB / 0.5174 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3289, allocations: 398.5 kB / 0.5178 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005382/0.3343, allocations: 4.017 MB / 0.5217 GB, free: 23.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.3377, allocations: 2.39 MB / 0.5241 GB, free: 22.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.3392, allocations: 1.055 MB / 0.5251 GB, free: 22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.3412, allocations: 1.733 MB / 0.5268 GB, free: 21.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.3417, allocations: 135.8 kB / 0.5269 GB, free: 21.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3433, allocations: 0.7546 MB / 0.5277 GB, free: 21.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.3446, allocations: 1.49 MB / 0.5291 GB, free: 20.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.3465, allocations: 1.745 MB / 0.5308 GB, free: 19.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.3513, allocations: 4.735 MB / 0.5355 GB, free: 18.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3514, allocations: 0 / 0.5355 GB, free: 18.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3514, allocations: 3.938 kB / 0.5355 GB, free: 18.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.3515, allocations: 0 / 0.5355 GB, free: 18.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.005496/0.357, allocations: 3.408 MB / 0.5388 GB, free: 16.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3571, allocations: 9.125 kB / 0.5388 GB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000929/0.358, allocations: 0.7279 MB / 0.5395 GB, free: 16.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009879/0.3679, allocations: 3.17 MB / 0.5426 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.3729, allocations: 2.375 MB / 0.5449 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.3733, allocations: 197.4 kB / 0.5451 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.3747, allocations: 259.9 kB / 0.5454 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/0.3896, allocations: 10.38 MB / 0.5555 GB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/0.3897, allocations: 26.45 kB / 0.5555 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003244/0.39, allocations: 116.4 kB / 0.5556 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003445/0.3935, allocations: 2.559 MB / 0.5581 GB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.4093, allocations: 9.417 MB / 0.5673 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.4544, allocations: 32.51 MB / 0.5991 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005975/0.4604, allocations: 3.38 MB / 0.6024 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.4621, allocations: 1.069 MB / 0.6034 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.4634, allocations: 1.309 MB / 0.6047 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.4634, allocations: 47.88 kB / 0.6047 GB, free: 3.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 6.131e-06/0.4634, allocations: 0 / 0.6047 GB, free: 3.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.02004/0.4835, allocations: 9.789 MB / 0.6143 GB, free: 9.996 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.4836, allocations: 94.42 kB / 0.6144 GB, free: 9.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.4874, allocations: 2.657 MB / 0.617 GB, free: 7.207 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.4875, allocations: 49.64 kB / 0.617 GB, free: 7.152 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.4893, allocations: 2.743 MB / 0.6197 GB, free: 4.367 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007113/0.49, allocations: 0.7131 MB / 0.6204 GB, free: 3.645 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.4902, allocations: 100 kB / 0.6205 GB, free: 3.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003771/0.4906, allocations: 0.5207 MB / 0.621 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.4931, allocations: 1.54 MB / 0.6225 GB, free: 1.473 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004242/0.4973, allocations: 4.45 MB / 0.6269 GB, free: 11.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007323/0.5047, allocations: 6.644 MB / 0.6333 GB, free: 3.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-05/0.5048, allocations: 31.98 kB / 0.6334 GB, free: 3.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.009694/0.5145, allocations: 5.894 MB / 0.6391 GB, free: 13.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/0.5146, allocations: 56.19 kB / 0.6392 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/0.5148, allocations: 104 kB / 0.6393 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.5151, allocations: 172.8 kB / 0.6394 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/0.5182, allocations: 1.099 MB / 0.6405 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.5196, allocations: 1.678 MB / 0.6422 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.5221, allocations: 219.9 kB / 0.6424 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/0.5226, allocations: 300 kB / 0.6427 GB, free: 9.812 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (605): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003167/0.5257, allocations: 2.032 MB / 0.6446 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.5261, allocations: 252.7 kB / 0.6449 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.5298, allocations: 2.519 MB / 0.6473 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.5298, allocations: 31.94 kB / 0.6474 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5298, allocations: 0 / 0.6474 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.5298, allocations: 7.969 kB / 0.6474 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.5436, allocations: 8.153 MB / 0.6553 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/0.5436, allocations: 12 kB / 0.6554 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.5447, allocations: 247.6 kB / 0.6556 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.5449, allocations: 60.81 kB / 0.6556 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.545, allocations: 47.98 kB / 0.6557 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.5463, allocations: 1.515 MB / 0.6572 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.5463, allocations: 15.94 kB / 0.6572 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.5517, allocations: 4.041 MB / 0.6611 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.5528, allocations: 0.5016 MB / 0.6616 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/0.5533, allocations: 36 kB / 0.6617 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5544, allocations: 55.94 kB / 0.6617 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002993/0.5547, allocations: 120.7 kB / 0.6618 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.5548, allocations: 67.97 kB / 0.6619 GB, free: 5.555 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002784/0.5576, allocations: 1.612 MB / 0.6635 GB, free: 3.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5576, allocations: 0 / 0.6635 GB, free: 3.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004057/0.5617, allocations: 0.8124 MB / 0.6643 GB, free: 3.121 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005606/0.5673, allocations: 4.71 MB / 0.6689 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005901/0.5733, allocations: 3.869 MB / 0.6726 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.5733, allocations: 4 kB / 0.6726 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.575, allocations: 1.237 MB / 0.6738 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.5798, allocations: 332.8 kB / 0.6742 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2049/0.7847, allocations: 25.88 MB / 0.6994 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/0.7877, allocations: 3.205 MB / 0.7026 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/0.7895, allocations: 1.798 MB / 0.7043 GB, free: 145 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.7895, allocations: 0 / 0.7043 GB, free: 145 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.235/7.025, allocations: 81.16 MB / 0.7836 GB, free: 88.23 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches