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.001473/0.001473, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001867/0.001867, allocations: 203.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 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.2443/0.2443, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 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 0.002149/0.002149, allocations: 71.91 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01389/0.321, allocations: 10.72 MB / 0.5716 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008918/0.33, allocations: 3.75 MB / 0.5752 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.3321, allocations: 67.75 kB / 0.5753 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003106/0.3352, allocations: 1.3 MB / 0.5766 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.3395, allocations: 1.779 MB / 0.5783 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3408, allocations: 0.4912 MB / 0.5788 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005123/0.346, allocations: 3.606 MB / 0.5823 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.3483, allocations: 1.824 MB / 0.5841 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3502, allocations: 1.222 MB / 0.5853 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.353, allocations: 1.884 MB / 0.5871 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005508/0.3536, allocations: 236 kB / 0.5873 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.3553, allocations: 0.8502 MB / 0.5882 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.357, allocations: 1.612 MB / 0.5897 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.3587, allocations: 1.342 MB / 0.591 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007799/0.3665, allocations: 6.222 MB / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3665, allocations: 0 / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3665, allocations: 0 / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.3667, allocations: 7.938 kB / 0.5971 GB, free: 15.1 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008106/0.3748, allocations: 4.166 MB / 0.6012 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3748, allocations: 15.97 kB / 0.6012 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.3857, allocations: 3.087 MB / 0.6042 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/0.3911, allocations: 1.839 MB / 0.606 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.3913, allocations: 189 kB / 0.6062 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.3923, allocations: 252 kB / 0.6064 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.4106, allocations: 10.48 MB / 0.6167 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/0.4107, allocations: 23.77 kB / 0.6167 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/0.411, allocations: 123.8 kB / 0.6168 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/0.4156, allocations: 2.553 MB / 0.6193 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.4355, allocations: 9.895 MB / 0.629 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05266/0.4881, allocations: 31.65 MB / 0.6599 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009983/0.4981, allocations: 4.034 MB / 0.6638 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/0.5014, allocations: 2.113 MB / 0.6659 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.5027, allocations: 0.5595 MB / 0.6664 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.5027, allocations: 48.78 kB / 0.6665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.71e-06/0.5027, allocations: 4 kB / 0.6665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03529/0.538, allocations: 13.93 MB / 0.6801 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.5381, allocations: 73.41 kB / 0.6802 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.5419, allocations: 2.62 MB / 0.6827 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003583/0.5423, allocations: 53.7 kB / 0.6828 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002214/0.5445, allocations: 2.753 MB / 0.6855 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.5457, allocations: 0.899 MB / 0.6863 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.5473, allocations: 1.045 MB / 0.6874 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5476, allocations: 353.9 kB / 0.6877 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.551, allocations: 2.204 MB / 0.6898 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006217/0.5572, allocations: 5.079 MB / 0.6948 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/0.5695, allocations: 7.965 MB / 0.7026 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.5696, allocations: 28 kB / 0.7026 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01653/0.5861, allocations: 7.884 MB / 0.7103 GB, free: 6.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.5863, allocations: 48 kB / 0.7104 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/0.5865, allocations: 100 kB / 0.7104 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.5891, allocations: 0.7857 MB / 0.7112 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/0.5936, allocations: 1.193 MB / 0.7124 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/0.6002, allocations: 4.362 MB / 0.7166 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.6038, allocations: 295.9 kB / 0.7169 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008552/0.6047, allocations: 299.9 kB / 0.7172 GB, free: 15.7 MB / 0.5606 GB 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.004155/0.6088, allocations: 2.016 MB / 0.7192 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000646/0.6095, allocations: 254.3 kB / 0.7194 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008982/0.6185, allocations: 4.715 MB / 0.724 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.6185, allocations: 47.98 kB / 0.7241 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.6185, allocations: 0 / 0.7241 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.6186, allocations: 11.97 kB / 0.7241 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2895/0.9081, allocations: 9.188 MB / 0.7331 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.9081, allocations: 6.594 kB / 0.7331 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/0.9104, allocations: 361 kB / 0.7334 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.913, allocations: 0.6577 MB / 0.734 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004424/0.9134, allocations: 44.19 kB / 0.7341 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.9178, allocations: 3.748 MB / 0.7378 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.9178, allocations: 7.906 kB / 0.7378 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008242/0.926, allocations: 7.129 MB / 0.7447 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.9267, allocations: 224.8 kB / 0.7449 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.927, allocations: 43.88 kB / 0.745 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9281, allocations: 145.6 kB / 0.7451 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.9284, allocations: 140.5 kB / 0.7452 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.9285, allocations: 58.64 kB / 0.7453 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001762/0.9303, allocations: 1.478 MB / 0.7467 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9303, allocations: 5.781 kB / 0.7468 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003305/0.9336, allocations: 0.9021 MB / 0.7476 GB, free: 148 MB / 0.5606 GB 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.0003693/0.9339, allocations: 176.6 kB / 0.7478 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005872/0.9398, allocations: 5.158 MB / 0.7528 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.9398, allocations: 6.531 kB / 0.7528 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.9418, allocations: 1.872 MB / 0.7547 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.9433, allocations: 269 kB / 0.7549 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.9548, allocations: 9.554 MB / 0.7643 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/0.9574, allocations: 2.622 MB / 0.7668 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003346/0.9607, allocations: 1.928 MB / 0.7687 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.9613, allocations: 195.4 kB / 0.7689 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/0.9613, allocations: 0 / 0.7689 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04699/1.008, allocations: 30.09 MB / 0.7983 GB, free: 99.85 MB / 0.5606 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] 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.918646312784404]