Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008747/0.0008747, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008207/0.0008207, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8426/0.8426, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1361/0.1361, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.118e-05, allocations: 6.078 kB / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01031/0.01033, allocations: 13.99 MB / 422.1 MB, free: 3.695 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.01878, allocations: 5.231 MB / 427.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.02046, allocations: 131.3 kB / 427.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.02492, allocations: 5.26 MB / 432.7 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.02932, allocations: 2.803 MB / 435.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.03131, allocations: 1.555 MB / 437.1 MB, free: 4.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007051/0.03836, allocations: 8.592 MB / 445.6 MB, free: 12.06 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005566/0.04393, allocations: 5.976 MB / 451.6 MB, free: 5.992 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.04823, allocations: 4.269 MB / 455.9 MB, free: 1.715 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.0513, allocations: 4.147 MB / 460 MB, free: 13.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.05181, allocations: 0.6523 MB / 460.7 MB, free: 12.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.05394, allocations: 1.755 MB / 462.4 MB, free: 11.15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.05572, allocations: 3.616 MB / 466.1 MB, free: 7.523 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.0572, allocations: 2.287 MB / 468.3 MB, free: 5.227 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1915/0.2487, allocations: 12.28 MB / 480.6 MB, free: 65.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2487, allocations: 1.969 kB / 480.6 MB, free: 65.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2487, allocations: 0 / 480.6 MB, free: 65.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002192/0.249, allocations: 0 / 480.6 MB, free: 65.42 MB / 442.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.009572/0.2585, allocations: 8.144 MB / 488.8 MB, free: 62.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2586, allocations: 10.31 kB / 488.8 MB, free: 62.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/0.2653, allocations: 3.215 MB / 492 MB, free: 61.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006013/0.2713, allocations: 5.124 MB / 497.1 MB, free: 61.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.2715, allocations: 380.3 kB / 497.5 MB, free: 61.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006053/0.2721, allocations: 0.5148 MB / 498 MB, free: 61.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.2893, allocations: 15.66 MB / 0.5016 GB, free: 54.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.2895, allocations: 69.11 kB / 0.5017 GB, free: 54.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.2899, allocations: 228.9 kB / 0.5019 GB, free: 54.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/0.2922, allocations: 2.549 MB / 0.5044 GB, free: 54.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.3065, allocations: 13.09 MB / 0.5172 GB, free: 50.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/0.339, allocations: 53.19 MB / 0.5691 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008697/0.3477, allocations: 5.904 MB / 0.5749 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.3504, allocations: 3.243 MB / 0.5781 GB, free: 9.047 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.3608, allocations: 9.637 MB / 0.5875 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.3608, allocations: 63.09 kB / 0.5875 GB, free: 15.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 4.699e-06/0.3608, allocations: 4 kB / 0.5875 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=343): time 0.07403/0.4348, allocations: 40.98 MB / 0.6276 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.4349, allocations: 243.9 kB / 0.6278 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/0.4401, allocations: 5.853 MB / 0.6335 GB, free: 480 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.4403, allocations: 76.05 kB / 0.6336 GB, free: 400 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.4423, allocations: 4.505 MB / 0.638 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008161/0.4432, allocations: 1.306 MB / 0.6393 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/0.445, allocations: 1.735 MB / 0.641 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.4451, allocations: 309.1 kB / 0.6412 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003582/0.4486, allocations: 4.073 MB / 0.6452 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005879/0.4545, allocations: 8.725 MB / 0.6537 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1836/0.6381, allocations: 13.55 MB / 0.667 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.6382, allocations: 45.59 kB / 0.667 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.01797/0.6562, allocations: 16.28 MB / 0.6829 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.6562, allocations: 71.5 kB / 0.683 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.528e-05/0.6563, allocations: 158.1 kB / 0.6831 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007467/0.6638, allocations: 4.274 MB / 0.6873 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.6673, allocations: 1.892 MB / 0.6892 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/0.6865, allocations: 21.26 MB / 0.7099 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.6911, allocations: 0.6149 MB / 0.7105 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004644/0.6916, allocations: 479.9 kB / 0.711 GB, free: 154.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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.003541/0.6951, allocations: 3.125 MB / 0.714 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/0.6957, allocations: 0.5002 MB / 0.7145 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.7063, allocations: 10.03 MB / 0.7243 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.7064, allocations: 39.94 kB / 0.7243 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.7064, allocations: 16 kB / 0.7244 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.7064, allocations: 15.94 kB / 0.7244 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.7255, allocations: 18.04 MB / 0.742 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.7255, allocations: 8 kB / 0.742 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.7267, allocations: 0.4911 MB / 0.7425 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005925/0.7326, allocations: 3.846 MB / 0.7462 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.7328, allocations: 64 kB / 0.7463 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.7473, allocations: 18.83 MB / 0.7647 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.7473, allocations: 15.88 kB / 0.7647 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.7611, allocations: 14.83 MB / 0.7792 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/0.7633, allocations: 1.147 MB / 0.7803 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/0.7637, allocations: 68.05 kB / 0.7804 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.7654, allocations: 326.3 kB / 0.7807 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/0.7658, allocations: 242.1 kB / 0.7809 GB, free: 85.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.7659, allocations: 95.98 kB / 0.781 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003213/0.7691, allocations: 3.537 MB / 0.7844 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7691, allocations: 0 / 0.7844 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004708/0.7739, allocations: 1.999 MB / 0.7864 GB, free: 79.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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.0004894/0.7743, allocations: 282.4 kB / 0.7867 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007622/0.782, allocations: 9.338 MB / 0.7958 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.782, allocations: 4 kB / 0.7958 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002668/0.7846, allocations: 3.446 MB / 0.7992 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.787, allocations: 0.6538 MB / 0.7998 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.8028, allocations: 16.77 MB / 0.8162 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.8058, allocations: 4.304 MB / 0.8204 GB, free: 45.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/0.8071, allocations: 396.4 kB / 0.8208 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/0.8071, allocations: 0 / 0.8208 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.2533/1.06, allocations: 126.3 MB / 0.9441 GB, free: 114.2 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.408663783222437]