Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",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.00127/0.00127, allocations: 172.8 kB / 16.72 MB, free: 5.082 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.257/1.257, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007206/0.0007206, allocations: 90.34 kB / 271.2 MB, free: 8.258 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.289/0.289, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 16 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09751, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1885/0.2861, allocations: 34.64 MB / 0.5132 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.3012, allocations: 7.814 MB / 0.5209 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006777/0.308, allocations: 157.7 kB / 0.521 GB, free: 20.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005028/0.3131, allocations: 1.68 MB / 0.5227 GB, free: 19.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.325, allocations: 5.079 MB / 0.5276 GB, free: 17.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.3272, allocations: 0.4996 MB / 0.5281 GB, free: 17.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004162/0.3314, allocations: 4.385 MB / 0.5324 GB, free: 15.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003719/0.3351, allocations: 3.299 MB / 0.5356 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3366, allocations: 1.163 MB / 0.5368 GB, free: 14.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.3385, allocations: 1.872 MB / 0.5386 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004237/0.3389, allocations: 149.8 kB / 0.5387 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.3406, allocations: 0.9081 MB / 0.5396 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.3419, allocations: 1.619 MB / 0.5412 GB, free: 13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.3437, allocations: 1.908 MB / 0.5431 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006727/0.3505, allocations: 5.388 MB / 0.5483 GB, free: 9.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3505, allocations: 0 / 0.5483 GB, free: 9.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3505, allocations: 0 / 0.5483 GB, free: 9.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001987/0.3507, allocations: 0.9688 kB / 0.5483 GB, free: 9.488 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.007842/0.3586, allocations: 3.815 MB / 0.552 GB, free: 6.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3586, allocations: 9.469 kB / 0.5521 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001438/0.3601, allocations: 0.7843 MB / 0.5528 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.3703, allocations: 3.217 MB / 0.556 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.3753, allocations: 2.594 MB / 0.5585 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3755, allocations: 225.2 kB / 0.5587 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008491/0.3764, allocations: 297.2 kB / 0.559 GB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.3941, allocations: 11.31 MB / 0.57 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.3942, allocations: 31.7 kB / 0.5701 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004934/0.3947, allocations: 139.8 kB / 0.5702 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004611/0.3993, allocations: 2.718 MB / 0.5729 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.4189, allocations: 10.43 MB / 0.583 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04977/0.4687, allocations: 37.53 MB / 0.6197 GB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008412/0.4772, allocations: 4.559 MB / 0.6241 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.4803, allocations: 2.396 MB / 0.6265 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.4814, allocations: 1.323 MB / 0.6278 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.4815, allocations: 52.56 kB / 0.6278 GB, free: 11.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=242): time 4.379e-06/0.4815, allocations: 0 / 0.6278 GB, free: 11.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.03779/0.5193, allocations: 17.61 MB / 0.645 GB, free: 10.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.5194, allocations: 73.41 kB / 0.6451 GB, free: 10.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.5231, allocations: 2.793 MB / 0.6478 GB, free: 7.383 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.5234, allocations: 57.7 kB / 0.6479 GB, free: 7.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.5252, allocations: 2.849 MB / 0.6507 GB, free: 4.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/0.5262, allocations: 0.9212 MB / 0.6516 GB, free: 3.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.5264, allocations: 108 kB / 0.6517 GB, free: 3.391 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003354/0.5268, allocations: 0.5376 MB / 0.6522 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.5299, allocations: 2.302 MB / 0.6544 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.5348, allocations: 5.279 MB / 0.6596 GB, free: 9.801 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.545, allocations: 8.341 MB / 0.6677 GB, free: 8 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.837e-05/0.5451, allocations: 32.05 kB / 0.6678 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01542/0.5606, allocations: 8.325 MB / 0.6759 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.5607, allocations: 48 kB / 0.6759 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.652e-05/0.5608, allocations: 104 kB / 0.676 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/0.5634, allocations: 0.9333 MB / 0.677 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.5674, allocations: 1.248 MB / 0.6782 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006165/0.5736, allocations: 4.81 MB / 0.6829 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.577, allocations: 303.8 kB / 0.6832 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1684/0.7454, allocations: 308.8 kB / 0.6835 GB, free: 150.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.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 (665): * Single equations (assignments): 658 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004593/0.75, allocations: 2.182 MB / 0.6856 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.7505, allocations: 282 kB / 0.6859 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008714/0.7592, allocations: 5.124 MB / 0.6909 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.7593, allocations: 46.72 kB / 0.6909 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.7594, allocations: 2.75 kB / 0.6909 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.7594, allocations: 10.08 kB / 0.6909 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/0.7778, allocations: 11.96 MB / 0.7026 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.7779, allocations: 13.81 kB / 0.7026 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.7795, allocations: 397.5 kB / 0.703 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/0.7817, allocations: 0.7727 MB / 0.7037 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/0.782, allocations: 52.62 kB / 0.7038 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/0.7863, allocations: 4.093 MB / 0.7078 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.7864, allocations: 13.66 kB / 0.7078 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009254/0.7956, allocations: 7.6 MB / 0.7152 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.797, allocations: 0.6838 MB / 0.7159 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.7973, allocations: 53.25 kB / 0.7159 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7985, allocations: 148.9 kB / 0.7161 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004579/0.799, allocations: 154.9 kB / 0.7162 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.7992, allocations: 71.81 kB / 0.7163 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002483/0.8017, allocations: 1.701 MB / 0.718 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8017, allocations: 0 / 0.718 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004002/0.8057, allocations: 0.9984 MB / 0.7189 GB, free: 140.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009896/0.8156, allocations: 8.274 MB / 0.727 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006319/0.8219, allocations: 5.61 MB / 0.7325 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.822, allocations: 0 / 0.7325 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.8242, allocations: 2.144 MB / 0.7346 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/0.829, allocations: 380.3 kB / 0.735 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03958/0.8686, allocations: 32.41 MB / 0.7666 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.8717, allocations: 3.443 MB / 0.77 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/0.8739, allocations: 1.922 MB / 0.7718 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.8739, allocations: 0 / 0.7718 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.799/7.673, allocations: 91.36 MB / 0.8611 GB, free: 6.414 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches