Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 170.3 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8417/0.8417, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1293/0.1293, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 3.938 kB / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.15e-05, allocations: 2.281 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009408/0.00943, allocations: 12.15 MB / 419 MB, free: 6.012 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006783/0.01621, allocations: 4.019 MB / 423 MB, free: 1.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.01813, allocations: 79.69 kB / 423.1 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.02091, allocations: 1.888 MB / 425 MB, free: 8 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.02452, allocations: 1.98 MB / 427 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.02554, allocations: 0.6118 MB / 427.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004849/0.03039, allocations: 4.311 MB / 431.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.03298, allocations: 2.586 MB / 434.5 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.03582, allocations: 2.171 MB / 436.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.03856, allocations: 2.182 MB / 438.8 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.03915, allocations: 300 kB / 439.1 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.04072, allocations: 0.9673 MB / 440.1 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.04215, allocations: 1.932 MB / 442 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.04365, allocations: 1.191 MB / 443.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00645/0.0501, allocations: 7.085 MB / 450.3 MB, free: 6.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.05011, allocations: 0 / 450.3 MB, free: 6.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.05011, allocations: 0 / 450.3 MB, free: 6.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002602/0.05037, allocations: 4 kB / 450.3 MB, free: 6.578 MB / 426.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.008114/0.05849, allocations: 4.714 MB / 455 MB, free: 1.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.05853, allocations: 12.03 kB / 455 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008603/0.05939, allocations: 0.7825 MB / 455.8 MB, free: 1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005793/0.06519, allocations: 3.223 MB / 459 MB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.06901, allocations: 2.333 MB / 461.4 MB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.06914, allocations: 221.9 kB / 461.6 MB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006517/0.06979, allocations: 296.2 kB / 461.9 MB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.165/0.2348, allocations: 11.33 MB / 473.2 MB, free: 92.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.735e-05/0.2349, allocations: 21.47 kB / 473.2 MB, free: 92.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/0.2352, allocations: 135.2 kB / 473.4 MB, free: 92.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.2376, allocations: 2.695 MB / 476 MB, free: 92.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.2508, allocations: 10.45 MB / 486.5 MB, free: 89.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04092/0.2917, allocations: 35.67 MB / 0.5099 GB, free: 67.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006534/0.2983, allocations: 3.593 MB / 0.5134 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.3008, allocations: 2.216 MB / 0.5156 GB, free: 65.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.3014, allocations: 453.7 kB / 0.516 GB, free: 65.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3014, allocations: 56.38 kB / 0.5161 GB, free: 65.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 6.502e-06/0.3015, allocations: 0 / 0.5161 GB, free: 65.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.02496/0.3264, allocations: 18.11 MB / 0.5338 GB, free: 50.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3265, allocations: 73.41 kB / 0.5338 GB, free: 50.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.329, allocations: 3.184 MB / 0.537 GB, free: 46.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.3294, allocations: 56.2 kB / 0.537 GB, free: 46.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007931/0.3302, allocations: 2.948 MB / 0.5399 GB, free: 43.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006775/0.3309, allocations: 0.9454 MB / 0.5408 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000863/0.3317, allocations: 1.081 MB / 0.5419 GB, free: 41.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.613e-05/0.3318, allocations: 301.1 kB / 0.5422 GB, free: 41.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.3337, allocations: 2.322 MB / 0.5444 GB, free: 39.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.3363, allocations: 5.299 MB / 0.5496 GB, free: 32.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005697/0.342, allocations: 8.376 MB / 0.5578 GB, free: 22.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.477e-05/0.3421, allocations: 28 kB / 0.5578 GB, free: 22.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01105/0.3531, allocations: 8.371 MB / 0.566 GB, free: 14.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/0.3532, allocations: 48 kB / 0.566 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.959e-05/0.3532, allocations: 104.9 kB / 0.5661 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.3548, allocations: 0.9493 MB / 0.567 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.3577, allocations: 1.24 MB / 0.5683 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.3617, allocations: 5.002 MB / 0.5731 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.3646, allocations: 337.8 kB / 0.5735 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000614/0.3652, allocations: 308 kB / 0.5738 GB, free: 6.242 MB / 442.7 MB 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 (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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002854/0.368, allocations: 2.194 MB / 0.5759 GB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/0.3685, allocations: 301.9 kB / 0.5762 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/0.3736, allocations: 5.12 MB / 0.5812 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/0.3736, allocations: 47.98 kB / 0.5812 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3736, allocations: 3.094 kB / 0.5812 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.3737, allocations: 11.97 kB / 0.5813 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.3909, allocations: 11.58 MB / 0.5926 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.3909, allocations: 12.88 kB / 0.5926 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.3919, allocations: 395.4 kB / 0.5929 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.3933, allocations: 0.7774 MB / 0.5937 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.3935, allocations: 52.03 kB / 0.5938 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.3975, allocations: 4.273 MB / 0.5979 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3975, allocations: 15.94 kB / 0.5979 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007883/0.4054, allocations: 7.624 MB / 0.6054 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.4068, allocations: 0.6502 MB / 0.606 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.4072, allocations: 51.97 kB / 0.6061 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/0.4081, allocations: 179.7 kB / 0.6062 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.4083, allocations: 160.8 kB / 0.6064 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.4084, allocations: 68 kB / 0.6065 GB, free: 4.234 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001988/0.4104, allocations: 1.886 MB / 0.6083 GB, free: 2.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4104, allocations: 0 / 0.6083 GB, free: 2.344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003692/0.4141, allocations: 1.078 MB / 0.6094 GB, free: 1.266 MB / 474.7 MB 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 (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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009041/0.4231, allocations: 8.304 MB / 0.6175 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006513/0.4296, allocations: 5.452 MB / 0.6228 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.4296, allocations: 1 kB / 0.6228 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/0.4323, allocations: 2 MB / 0.6247 GB, free: 1.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.4343, allocations: 401.1 kB / 0.6251 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2186/0.6529, allocations: 43.56 MB / 0.6677 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.6554, allocations: 2.897 MB / 0.6705 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002683/0.658, allocations: 2.008 MB / 0.6725 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.6596, allocations: 1.891 MB / 0.6743 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.804e-06/0.6596, allocations: 0 / 0.6743 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06746/0.727, allocations: 62.33 MB / 0.7352 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.276/10, allocations: 11.83 kB / 0.7352 GB, free: 111.1 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.196637557819486]