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.001257/0.001257, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001368/0.001368, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 7.766 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.2301/0.2301, allocations: 46.94 MB / 361.6 MB, free: 3.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 84.19 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3817, allocations: 66.08 MB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01475/0.3965, allocations: 11.7 MB / 0.5729 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008984/0.4055, allocations: 3.981 MB / 0.5768 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.4074, allocations: 79.69 kB / 0.5768 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.4111, allocations: 1.775 MB / 0.5786 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004345/0.4154, allocations: 1.872 MB / 0.5804 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.4168, allocations: 0.5498 MB / 0.5809 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005136/0.4219, allocations: 3.9 MB / 0.5847 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003063/0.425, allocations: 2.282 MB / 0.587 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.4272, allocations: 1.386 MB / 0.5883 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.4303, allocations: 2.134 MB / 0.5904 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008114/0.4311, allocations: 292 kB / 0.5907 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.4331, allocations: 0.9088 MB / 0.5916 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.4351, allocations: 1.791 MB / 0.5933 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.4373, allocations: 1.51 MB / 0.5948 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.4461, allocations: 6.944 MB / 0.6016 GB, free: 10.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4461, allocations: 4 kB / 0.6016 GB, free: 10.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4461, allocations: 0 / 0.6016 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002715/0.4464, allocations: 0 / 0.6016 GB, free: 10.7 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.01049/0.4569, allocations: 4.581 MB / 0.6061 GB, free: 6.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4569, allocations: 8.031 kB / 0.6061 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001485/0.4571, allocations: 109.7 kB / 0.6062 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001492/0.4586, allocations: 0.7619 MB / 0.6069 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.4697, allocations: 3.16 MB / 0.61 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.4755, allocations: 2.298 MB / 0.6122 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.4757, allocations: 217.4 kB / 0.6124 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4769, allocations: 287.8 kB / 0.6127 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.497, allocations: 11.11 MB / 0.6236 GB, free: 3.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.4971, allocations: 31.7 kB / 0.6236 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006256/0.4977, allocations: 127.8 kB / 0.6237 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004663/0.5024, allocations: 2.628 MB / 0.6263 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.5227, allocations: 10.37 MB / 0.6364 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05373/0.5764, allocations: 34.63 MB / 0.6702 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009046/0.5855, allocations: 3.473 MB / 0.6736 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.589, allocations: 2.224 MB / 0.6758 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/0.5899, allocations: 449.2 kB / 0.6762 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.59, allocations: 56.56 kB / 0.6763 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.781e-06/0.59, allocations: 0 / 0.6763 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04181/0.6318, allocations: 17.49 MB / 0.6934 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.6319, allocations: 77.41 kB / 0.6934 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.6359, allocations: 2.747 MB / 0.6961 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.6362, allocations: 57.7 kB / 0.6962 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.6384, allocations: 2.886 MB / 0.699 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.6394, allocations: 0.9648 MB / 0.6999 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/0.641, allocations: 1.076 MB / 0.701 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6411, allocations: 301.1 kB / 0.7013 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/0.6446, allocations: 2.31 MB / 0.7035 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006268/0.6509, allocations: 5.206 MB / 0.7086 GB, free: 10.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.6618, allocations: 8.257 MB / 0.7167 GB, free: 372 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-05/0.6618, allocations: 32 kB / 0.7167 GB, free: 340 kB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01516/0.677, allocations: 8.271 MB / 0.7248 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.6771, allocations: 48.97 kB / 0.7248 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.6772, allocations: 104 kB / 0.7249 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/0.6801, allocations: 0.9439 MB / 0.7259 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/0.6843, allocations: 1.213 MB / 0.727 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/0.6917, allocations: 5.009 MB / 0.7319 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/0.6951, allocations: 291.8 kB / 0.7322 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009018/0.696, allocations: 308 kB / 0.7325 GB, free: 36 kB / 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.232/0.928, allocations: 2.155 MB / 0.7346 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/0.9286, allocations: 289.8 kB / 0.7349 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007859/0.9364, allocations: 5.12 MB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/0.9365, allocations: 49.7 kB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9365, allocations: 3.906 kB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.9365, allocations: 11.53 kB / 0.7399 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.9532, allocations: 11.41 MB / 0.7511 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.9532, allocations: 12 kB / 0.7511 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.9548, allocations: 398.5 kB / 0.7515 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.9569, allocations: 0.7765 MB / 0.7522 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.9571, allocations: 44 kB / 0.7523 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.9612, allocations: 4.248 MB / 0.7564 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.9612, allocations: 15.94 kB / 0.7564 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008233/0.9694, allocations: 7.631 MB / 0.7639 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.97, allocations: 264.2 kB / 0.7641 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.9704, allocations: 51.92 kB / 0.7642 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.9716, allocations: 147.6 kB / 0.7643 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.9719, allocations: 156.8 kB / 0.7645 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.9721, allocations: 79.48 kB / 0.7646 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001862/0.974, allocations: 1.693 MB / 0.7662 GB, free: 132 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.974, allocations: 0 / 0.7662 GB, free: 132 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00351/0.9775, allocations: 0.9596 MB / 0.7672 GB, free: 131.1 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.008352/0.9858, allocations: 8.288 MB / 0.7752 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006271/0.9921, allocations: 5.426 MB / 0.7805 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/0.9921, allocations: 0 / 0.7805 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/0.9943, allocations: 2.001 MB / 0.7825 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.9963, allocations: 404.6 kB / 0.7829 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04645/1.043, allocations: 42.36 MB / 0.8243 GB, free: 68.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/1.046, allocations: 2.828 MB / 0.827 GB, free: 65.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003381/1.049, allocations: 1.986 MB / 0.829 GB, free: 63.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.051, allocations: 1.831 MB / 0.8307 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/1.051, allocations: 0 / 0.8307 GB, free: 61.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08987/1.141, allocations: 62.17 MB / 0.8915 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.7/24.85, allocations: 11.72 kB / 0.8915 GB, free: 15.76 MB / 0.5762 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 28.715764404973015]