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.001844/0.001844, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002978/0.002978, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2315/0.2315, allocations: 46.92 MB / 360.8 MB, free: 4.258 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.002054/0.002054, allocations: 67.89 kB / 0.4966 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01465/0.3293, allocations: 12.36 MB / 0.5732 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007716/0.337, allocations: 3.976 MB / 0.5771 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009133/0.3379, allocations: 67.81 kB / 0.5771 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.3405, allocations: 1.35 MB / 0.5785 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.3439, allocations: 1.775 MB / 0.5802 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.345, allocations: 499 kB / 0.5807 GB, free: 304 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004423/0.3494, allocations: 3.606 MB / 0.5842 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.3516, allocations: 1.839 MB / 0.586 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.3531, allocations: 1.211 MB / 0.5872 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.3556, allocations: 1.884 MB / 0.589 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.356, allocations: 239.9 kB / 0.5892 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.3578, allocations: 0.9673 MB / 0.5902 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.3593, allocations: 1.62 MB / 0.5918 GB, free: 4.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.3611, allocations: 1.871 MB / 0.5936 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00731/0.3684, allocations: 6.208 MB / 0.5997 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3684, allocations: 4 kB / 0.5997 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3684, allocations: 0 / 0.5997 GB, free: 12.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.3685, allocations: 0 / 0.5997 GB, free: 12.76 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.007191/0.3757, allocations: 4.162 MB / 0.6037 GB, free: 8.539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3758, allocations: 8.031 kB / 0.6037 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.3863, allocations: 3.098 MB / 0.6068 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00517/0.3915, allocations: 1.815 MB / 0.6085 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.3917, allocations: 193 kB / 0.6087 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008435/0.3925, allocations: 244 kB / 0.6089 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.4098, allocations: 10.48 MB / 0.6192 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.764e-05/0.4099, allocations: 27.77 kB / 0.6192 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.4102, allocations: 119.8 kB / 0.6193 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004513/0.4147, allocations: 2.549 MB / 0.6218 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/0.4349, allocations: 9.923 MB / 0.6315 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05432/0.4892, allocations: 34.2 MB / 0.6649 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009397/0.4986, allocations: 4.068 MB / 0.6689 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/0.5019, allocations: 2.111 MB / 0.6709 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.5033, allocations: 0.5634 MB / 0.6715 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.5034, allocations: 56.56 kB / 0.6715 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.631e-06/0.5034, allocations: 0 / 0.6715 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03424/0.5376, allocations: 13.89 MB / 0.6851 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.5377, allocations: 77.28 kB / 0.6852 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/0.5415, allocations: 2.635 MB / 0.6877 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.5417, allocations: 53.7 kB / 0.6878 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/0.5442, allocations: 2.738 MB / 0.6905 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.5453, allocations: 0.8951 MB / 0.6913 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/0.5467, allocations: 1.056 MB / 0.6924 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5469, allocations: 301.1 kB / 0.6927 GB, free: 12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/0.5505, allocations: 2.204 MB / 0.6948 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/0.5568, allocations: 5.075 MB / 0.6998 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/0.5683, allocations: 7.973 MB / 0.7076 GB, free: 9.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.505e-05/0.5683, allocations: 28 kB / 0.7076 GB, free: 9.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01541/0.5838, allocations: 7.88 MB / 0.7153 GB, free: 2.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.5838, allocations: 48 kB / 0.7153 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.584, allocations: 100 kB / 0.7154 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.5864, allocations: 0.8013 MB / 0.7162 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/0.5905, allocations: 1.185 MB / 0.7174 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006636/0.5971, allocations: 4.416 MB / 0.7217 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/0.6003, allocations: 295.8 kB / 0.722 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/0.6008, allocations: 300 kB / 0.7222 GB, free: 10.77 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.003334/0.6042, allocations: 2.02 MB / 0.7242 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.6046, allocations: 274.1 kB / 0.7245 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008992/0.6136, allocations: 4.717 MB / 0.7291 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/0.6137, allocations: 43.98 kB / 0.7291 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.6137, allocations: 7.938 kB / 0.7291 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.6137, allocations: 11.95 kB / 0.7291 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2886/0.9023, allocations: 10.46 MB / 0.7394 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.9023, allocations: 14.48 kB / 0.7394 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9038, allocations: 361.7 kB / 0.7397 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.9056, allocations: 0.6525 MB / 0.7404 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.9057, allocations: 46.38 kB / 0.7404 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/0.9096, allocations: 3.81 MB / 0.7441 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9096, allocations: 7.812 kB / 0.7441 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008432/0.918, allocations: 7.144 MB / 0.7511 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.9186, allocations: 239.7 kB / 0.7513 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.9189, allocations: 48.56 kB / 0.7514 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9199, allocations: 144.6 kB / 0.7515 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.9202, allocations: 142.5 kB / 0.7517 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.9204, allocations: 63.83 kB / 0.7517 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001961/0.9223, allocations: 1.616 MB / 0.7533 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9223, allocations: 0 / 0.7533 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003439/0.9258, allocations: 0.9129 MB / 0.7542 GB, free: 144.8 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.0004127/0.9262, allocations: 173.9 kB / 0.7543 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006039/0.9322, allocations: 5.155 MB / 0.7594 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.9322, allocations: 0 / 0.7594 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.9343, allocations: 1.873 MB / 0.7612 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.936, allocations: 374.8 kB / 0.7616 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.9494, allocations: 9.551 MB / 0.7709 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/0.9518, allocations: 3.172 MB / 0.774 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003119/0.9549, allocations: 1.957 MB / 0.7759 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005894/0.9555, allocations: 201.5 kB / 0.7761 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of SimCode: time 2.995e-06/0.9555, allocations: 4 kB / 0.7761 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.04763/1.003, allocations: 32.59 MB / 0.8079 GB, free: 90.8 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: 7.234282611170784]