Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001507/0.001507, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001604/0.001604, allocations: 157.7 kB / 24.27 MB, free: 176 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.499/1.499, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3804/0.3804, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.729e-05, allocations: 2.312 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01968/0.0197, allocations: 13.91 MB / 389.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.03375, allocations: 5.241 MB / 394.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.03714, allocations: 131.3 kB / 394.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.04818, allocations: 5.331 MB / 399.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008518/0.0567, allocations: 2.756 MB / 402.6 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.0605, allocations: 1.571 MB / 404.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01414/0.07465, allocations: 9.347 MB / 413.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009973/0.08462, allocations: 6.138 MB / 419.7 MB, free: 8.367 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.09463, allocations: 4.241 MB / 423.9 MB, free: 4.117 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008055/0.1027, allocations: 4.143 MB / 428 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.1053, allocations: 0.6562 MB / 428.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005485/0.1108, allocations: 1.752 MB / 430.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006345/0.1171, allocations: 3.585 MB / 434 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006788/0.1239, allocations: 2.271 MB / 436.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1908/0.3147, allocations: 12.26 MB / 448.6 MB, free: 67.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3147, allocations: 2.062 kB / 448.6 MB, free: 67.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3147, allocations: 0 / 448.6 MB, free: 67.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003925/0.3151, allocations: 0 / 448.6 MB, free: 67.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01887/0.334, allocations: 8.156 MB / 456.7 MB, free: 64.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.334, allocations: 9.688 kB / 456.7 MB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.3485, allocations: 3.853 MB / 460.6 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.3601, allocations: 4.976 MB / 465.6 MB, free: 63.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.3605, allocations: 382.2 kB / 465.9 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002576/0.3631, allocations: 0.5069 MB / 466.4 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.3928, allocations: 15.78 MB / 482.2 MB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/0.393, allocations: 72.67 kB / 482.3 MB, free: 57.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008622/0.3939, allocations: 234.7 kB / 482.5 MB, free: 57.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004111/0.398, allocations: 2.555 MB / 485.1 MB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02766/0.4256, allocations: 13.21 MB / 498.3 MB, free: 52.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07252/0.4982, allocations: 53.47 MB / 0.5388 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01556/0.5137, allocations: 5.874 MB / 0.5446 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005809/0.5195, allocations: 3.302 MB / 0.5478 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02125/0.5408, allocations: 9.768 MB / 0.5573 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.5409, allocations: 62.84 kB / 0.5574 GB, free: 3.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 5.03e-06/0.5409, allocations: 0 / 0.5574 GB, free: 3.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=353): time 0.1722/0.713, allocations: 48.11 MB / 0.6044 GB, free: 3.215 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/0.7132, allocations: 241.7 kB / 0.6046 GB, free: 2.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1767/0.89, allocations: 5.648 MB / 0.6101 GB, free: 152.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001444/0.8914, allocations: 78.3 kB / 0.6102 GB, free: 152.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003009/0.8944, allocations: 4.471 MB / 0.6146 GB, free: 149.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001762/0.8962, allocations: 1.329 MB / 0.6159 GB, free: 148.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004636/0.9008, allocations: 1.733 MB / 0.6176 GB, free: 147.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.9008, allocations: 301.1 kB / 0.6178 GB, free: 147.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005707/0.9066, allocations: 4.274 MB / 0.622 GB, free: 145.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008759/0.9153, allocations: 8.877 MB / 0.6307 GB, free: 138.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/0.9322, allocations: 13.88 MB / 0.6442 GB, free: 128.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/0.9324, allocations: 44.5 kB / 0.6443 GB, free: 128.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.03948/0.9719, allocations: 17.57 MB / 0.6614 GB, free: 122 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003203/0.9722, allocations: 78.62 kB / 0.6615 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004226/0.9726, allocations: 159.5 kB / 0.6617 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01792/0.9905, allocations: 5.608 MB / 0.6671 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/0.9968, allocations: 1.903 MB / 0.669 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02849/1.025, allocations: 22.89 MB / 0.6914 GB, free: 98.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007831/1.033, allocations: 0.6281 MB / 0.692 GB, free: 97.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.035, allocations: 476 kB / 0.6924 GB, free: 97.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1019 * Array equations: 3 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005995/1.041, allocations: 3.132 MB / 0.6955 GB, free: 94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/1.042, allocations: 0.6043 MB / 0.6961 GB, free: 93.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/1.063, allocations: 10.99 MB / 0.7068 GB, free: 82.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.897e-05/1.063, allocations: 36 kB / 0.7068 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/1.063, allocations: 12 kB / 0.7069 GB, free: 82.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/1.063, allocations: 22.89 kB / 0.7069 GB, free: 82.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03632/1.1, allocations: 19.59 MB / 0.726 GB, free: 62.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/1.1, allocations: 11.98 kB / 0.726 GB, free: 62.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.102, allocations: 0.535 MB / 0.7265 GB, free: 62.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01591/1.118, allocations: 5.158 MB / 0.7316 GB, free: 56.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007278/1.119, allocations: 67.83 kB / 0.7316 GB, free: 56.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02531/1.144, allocations: 20.35 MB / 0.7515 GB, free: 36.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.144, allocations: 19.88 kB / 0.7515 GB, free: 36.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/1.17, allocations: 16.3 MB / 0.7674 GB, free: 19.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.172, allocations: 0.5433 MB / 0.768 GB, free: 19.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.173, allocations: 67.98 kB / 0.768 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003395/1.177, allocations: 351.4 kB / 0.7684 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008604/1.177, allocations: 250.1 kB / 0.7686 GB, free: 18.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002887/1.178, allocations: 99.98 kB / 0.7687 GB, free: 18.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004624/1.182, allocations: 3.398 MB / 0.772 GB, free: 15.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.182, allocations: 0 / 0.772 GB, free: 15.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.1448/1.327, allocations: 1.998 MB / 0.774 GB, free: 138.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (271): * Single equations (assignments): 267 * Array equations: 3 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/1.328, allocations: 275.5 kB / 0.7742 GB, free: 138.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01316/1.342, allocations: 9.757 MB / 0.7838 GB, free: 137.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.342, allocations: 0 / 0.7838 GB, free: 137.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.347, allocations: 3.689 MB / 0.7874 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/1.351, allocations: 0.6911 MB / 0.7881 GB, free: 135.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/1.377, allocations: 16.54 MB / 0.8042 GB, free: 128.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006699/1.383, allocations: 4.358 MB / 0.8085 GB, free: 127.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008426/1.392, allocations: 2.538 MB / 0.8109 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/1.394, allocations: 340.2 kB / 0.8113 GB, free: 127.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/1.394, allocations: 4 kB / 0.8113 GB, free: 127.1 MB / 474.7 MB Notification: Performance of Templates: time 0.1065/1.5, allocations: 76.82 MB / 0.8863 GB, free: 64.3 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.703571342048235]