Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 112 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002067, allocations: 211.4 kB / 23.77 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.95 MB / 360.9 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 180] 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.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 83.86 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3727, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0153/0.388, allocations: 11.77 MB / 0.5723 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009136/0.3972, allocations: 3.993 MB / 0.5762 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.3993, allocations: 79.69 kB / 0.5762 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.4033, allocations: 1.783 MB / 0.578 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004728/0.408, allocations: 1.88 MB / 0.5798 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.4094, allocations: 0.542 MB / 0.5803 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00561/0.4151, allocations: 3.89 MB / 0.5841 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.4184, allocations: 2.27 MB / 0.5864 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.421, allocations: 1.398 MB / 0.5877 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003561/0.4246, allocations: 2.036 MB / 0.5897 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008594/0.4254, allocations: 288 kB / 0.59 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.4276, allocations: 0.8932 MB / 0.5909 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002164/0.4298, allocations: 1.788 MB / 0.5926 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002463/0.4323, allocations: 1.51 MB / 0.5941 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009051/0.4413, allocations: 6.94 MB / 0.6009 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4413, allocations: 0 / 0.6009 GB, free: 10.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4413, allocations: 0 / 0.6009 GB, free: 10.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000255/0.4416, allocations: 8 kB / 0.6009 GB, free: 10.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01174/0.4533, allocations: 4.585 MB / 0.6053 GB, free: 6.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.4534, allocations: 16.03 kB / 0.6054 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001646/0.455, allocations: 0.7658 MB / 0.6061 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.4661, allocations: 3.196 MB / 0.6092 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/0.4726, allocations: 2.306 MB / 0.6115 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.473, allocations: 217.5 kB / 0.6117 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.4746, allocations: 291.8 kB / 0.612 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/0.5032, allocations: 11.12 MB / 0.6228 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.5033, allocations: 27.77 kB / 0.6228 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007554/0.5041, allocations: 127.8 kB / 0.623 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007072/0.5111, allocations: 2.636 MB / 0.6255 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02992/0.5411, allocations: 10.34 MB / 0.6356 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0653/0.6064, allocations: 34.8 MB / 0.6696 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009903/0.6163, allocations: 3.588 MB / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/0.6202, allocations: 2.22 MB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.6212, allocations: 449.2 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.6213, allocations: 60.5 kB / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 7.664e-06/0.6213, allocations: 0 / 0.6758 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04512/0.6664, allocations: 17.89 MB / 0.6933 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.6665, allocations: 77.34 kB / 0.6933 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/0.6714, allocations: 2.913 MB / 0.6962 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.6717, allocations: 61.69 kB / 0.6962 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.6742, allocations: 2.882 MB / 0.699 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.6754, allocations: 0.9649 MB / 0.7 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002073/0.6775, allocations: 1.073 MB / 0.701 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6776, allocations: 301.1 kB / 0.7013 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00403/0.6817, allocations: 2.302 MB / 0.7036 GB, free: 15.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00686/0.6885, allocations: 5.214 MB / 0.7087 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.7006, allocations: 8.257 MB / 0.7167 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/0.7007, allocations: 32 kB / 0.7168 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01807/0.7188, allocations: 8.276 MB / 0.7248 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.7189, allocations: 52.06 kB / 0.7249 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002352/0.7192, allocations: 100 kB / 0.725 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.7222, allocations: 0.9401 MB / 0.7259 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004566/0.7268, allocations: 1.213 MB / 0.7271 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2857/1.013, allocations: 5.008 MB / 0.732 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.016, allocations: 297.3 kB / 0.7323 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.018, allocations: 309.3 kB / 0.7326 GB, free: 150.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],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 (653): * Single equations (assignments): 646 * 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.004164/1.022, allocations: 2.146 MB / 0.7347 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/1.022, allocations: 294.8 kB / 0.7349 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007191/1.03, allocations: 5.116 MB / 0.7399 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/1.03, allocations: 52.98 kB / 0.74 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.03, allocations: 0 / 0.74 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.03, allocations: 11.44 kB / 0.74 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.047, allocations: 11.45 MB / 0.7512 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.047, allocations: 12.2 kB / 0.7512 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/1.048, allocations: 395.8 kB / 0.7516 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/1.051, allocations: 0.7698 MB / 0.7523 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/1.051, allocations: 65.91 kB / 0.7524 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004698/1.056, allocations: 4.245 MB / 0.7565 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.056, allocations: 15.94 kB / 0.7565 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00896/1.064, allocations: 7.631 MB / 0.764 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000883/1.065, allocations: 268 kB / 0.7642 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/1.066, allocations: 51.98 kB / 0.7643 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/1.068, allocations: 143.8 kB / 0.7644 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/1.068, allocations: 160.8 kB / 0.7646 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.068, allocations: 75.91 kB / 0.7647 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002134/1.07, allocations: 1.685 MB / 0.7663 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.07, allocations: 0 / 0.7663 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004374/1.075, allocations: 0.9693 MB / 0.7673 GB, free: 129.4 MB / 0.5606 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 (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.009709/1.085, allocations: 8.29 MB / 0.7753 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007405/1.092, allocations: 5.421 MB / 0.7806 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/1.092, allocations: 0 / 0.7806 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/1.095, allocations: 2.004 MB / 0.7826 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/1.098, allocations: 402.2 kB / 0.783 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06043/1.158, allocations: 42.37 MB / 0.8244 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004765/1.163, allocations: 2.832 MB / 0.8271 GB, free: 63.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003899/1.167, allocations: 1.982 MB / 0.8291 GB, free: 61.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/1.169, allocations: 1.831 MB / 0.8308 GB, free: 59.88 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/1.169, allocations: 0 / 0.8308 GB, free: 59.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.272, allocations: 60.1 MB / 0.8895 GB, free: 272 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.52, allocations: 3.938 kB / 0.8895 GB, free: 268 kB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 19.812155812978745]