Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.002648/0.002648, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002125/0.002125, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3302/0.3302, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.672e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01614/0.01617, allocations: 11.76 MB / 389.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008997/0.02516, allocations: 3.855 MB / 392.9 MB, free: 3.285 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.02678, allocations: 67.75 kB / 393 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.03008, allocations: 1.401 MB / 394.4 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00479/0.03487, allocations: 1.844 MB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.03631, allocations: 0.5183 MB / 396.7 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005744/0.04205, allocations: 3.976 MB / 400.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.04513, allocations: 2.157 MB / 402.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.04804, allocations: 1.843 MB / 404.7 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003381/0.05142, allocations: 1.933 MB / 406.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004984/0.05192, allocations: 240 kB / 406.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.05377, allocations: 0.9125 MB / 407.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.05555, allocations: 1.679 MB / 409.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.05702, allocations: 1 MB / 410.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007995/0.06501, allocations: 6.178 MB / 416.7 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.06502, allocations: 0 / 416.7 MB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06502, allocations: 0 / 416.7 MB, free: 11.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001091/0.06513, allocations: 0 / 416.7 MB, free: 11.44 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01004/0.07517, allocations: 5.01 MB / 421.7 MB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.07521, allocations: 12.03 kB / 421.7 MB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.08782, allocations: 3.625 MB / 425.3 MB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/0.09286, allocations: 1.685 MB / 427 MB, free: 1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.09306, allocations: 193 kB / 427.2 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/0.09381, allocations: 248.2 kB / 427.4 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.1066, allocations: 5.749 MB / 433.2 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.831e-05/0.1067, allocations: 27.75 kB / 433.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/0.107, allocations: 115.8 kB / 433.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005118/0.1122, allocations: 2.553 MB / 435.9 MB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.1251, allocations: 3.875 MB / 439.7 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1956/0.3207, allocations: 41.64 MB / 481.4 MB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006642/0.3274, allocations: 2.184 MB / 483.6 MB, free: 65.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.3289, allocations: 0.6772 MB / 484.2 MB, free: 65.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.3299, allocations: 0.5166 MB / 484.7 MB, free: 65.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3299, allocations: 61.86 kB / 484.8 MB, free: 65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 5.22e-06/0.3299, allocations: 0 / 484.8 MB, free: 65 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.02596/0.3559, allocations: 8.315 MB / 493.1 MB, free: 63.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3559, allocations: 75.06 kB / 493.2 MB, free: 63.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/0.3597, allocations: 3.049 MB / 496.2 MB, free: 61.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.3599, allocations: 56.23 kB / 496.3 MB, free: 61.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.3613, allocations: 3.006 MB / 499.3 MB, free: 59.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/0.3621, allocations: 0.9846 MB / 0.4886 GB, free: 58.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.3636, allocations: 1.294 MB / 0.4898 GB, free: 58.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3637, allocations: 0.565 MB / 0.4904 GB, free: 57.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.3652, allocations: 0.7078 MB / 0.4911 GB, free: 57.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/0.3681, allocations: 5.116 MB / 0.4961 GB, free: 51.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00499/0.3731, allocations: 6.45 MB / 0.5024 GB, free: 44.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-05/0.3732, allocations: 27.06 kB / 0.5024 GB, free: 44.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.009994/0.3832, allocations: 5.029 MB / 0.5073 GB, free: 41.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.3833, allocations: 49 kB / 0.5074 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.3834, allocations: 103.3 kB / 0.5074 GB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.3854, allocations: 0.5603 MB / 0.508 GB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/0.3891, allocations: 1.187 MB / 0.5092 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.3927, allocations: 3.111 MB / 0.5122 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/0.3969, allocations: 316.9 kB / 0.5125 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006752/0.3975, allocations: 304.5 kB / 0.5128 GB, free: 36.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (635): * Single equations (assignments): 628 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001855/0.3994, allocations: 0.6678 MB / 0.5134 GB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000643/0.4, allocations: 318.2 kB / 0.5137 GB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005715/0.4058, allocations: 2.582 MB / 0.5163 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.4058, allocations: 42.95 kB / 0.5163 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4058, allocations: 7.938 kB / 0.5163 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.4058, allocations: 9.234 kB / 0.5163 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.421, allocations: 7.169 MB / 0.5233 GB, free: 26.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.421, allocations: 12.94 kB / 0.5233 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.4225, allocations: 359.1 kB / 0.5237 GB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.4244, allocations: 445.6 kB / 0.5241 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.4246, allocations: 36 kB / 0.5241 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.4275, allocations: 2.515 MB / 0.5266 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4275, allocations: 11.94 kB / 0.5266 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006055/0.4336, allocations: 3.093 MB / 0.5296 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008289/0.4344, allocations: 243.1 kB / 0.5299 GB, free: 20.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/0.4348, allocations: 45.78 kB / 0.5299 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.4362, allocations: 167.3 kB / 0.5301 GB, free: 20.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.4365, allocations: 145.8 kB / 0.5302 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.4367, allocations: 67.94 kB / 0.5303 GB, free: 20.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001773/0.4385, allocations: 1.245 MB / 0.5315 GB, free: 19.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4385, allocations: 0 / 0.5315 GB, free: 19.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004316/0.4428, allocations: 0.9975 MB / 0.5325 GB, free: 18.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.000524/0.4433, allocations: 188.2 kB / 0.5326 GB, free: 18.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004978/0.4483, allocations: 3.078 MB / 0.5356 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4483, allocations: 4.938 kB / 0.5356 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.4498, allocations: 1.009 MB / 0.5366 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.4515, allocations: 295.5 kB / 0.5369 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.4617, allocations: 7.622 MB / 0.5444 GB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.4638, allocations: 2.301 MB / 0.5466 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003152/0.4669, allocations: 1.584 MB / 0.5481 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.4675, allocations: 192.5 kB / 0.5483 GB, free: 2.527 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4675, allocations: 4 kB / 0.5483 GB, free: 2.523 MB / 410.7 MB Notification: Performance of Templates: time 0.05458/0.5221, allocations: 25.22 MB / 0.573 GB, free: 9.699 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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: 6.446069221012294]