Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002009/0.002009, allocations: 111 kB / 21.18 MB, free: 0.668 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.002356/0.002356, allocations: 209.2 kB / 24.47 MB, free: 3.969 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2278/0.2278, allocations: 46.97 MB / 361.6 MB, free: 4.004 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01737/0.3026, allocations: 13.9 MB / 0.5754 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.3134, allocations: 5.219 MB / 0.5805 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.3156, allocations: 135.2 kB / 0.5806 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009714/0.3253, allocations: 4.973 MB / 0.5855 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006821/0.3321, allocations: 2.685 MB / 0.5881 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.3354, allocations: 1.396 MB / 0.5894 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.3472, allocations: 8.259 MB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007232/0.3544, allocations: 5.2 MB / 0.6026 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004977/0.3594, allocations: 2.82 MB / 0.6053 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.3657, allocations: 4.027 MB / 0.6093 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001721/0.3674, allocations: 0.6367 MB / 0.6099 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.371, allocations: 1.682 MB / 0.6115 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004029/0.3751, allocations: 3.421 MB / 0.6149 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00413/0.3792, allocations: 2.797 MB / 0.6176 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.3933, allocations: 12.03 MB / 0.6294 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3933, allocations: 3.938 kB / 0.6294 GB, free: 14.65 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3933, allocations: 0 / 0.6294 GB, free: 14.65 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003033/0.3936, allocations: 0 / 0.6294 GB, free: 14.65 MB / 478.1 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.0203/0.4139, allocations: 8.006 MB / 0.6372 GB, free: 6.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.414, allocations: 12.03 kB / 0.6372 GB, free: 6.559 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.43, allocations: 3.093 MB / 0.6402 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.4432, allocations: 4.983 MB / 0.6451 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.4436, allocations: 382.2 kB / 0.6454 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/0.4452, allocations: 0.5114 MB / 0.6459 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.4758, allocations: 15.64 MB / 0.6612 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/0.476, allocations: 75.45 kB / 0.6613 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007238/0.4767, allocations: 231.8 kB / 0.6615 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004406/0.4811, allocations: 2.544 MB / 0.664 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.028/0.5091, allocations: 13.08 MB / 0.6768 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07751/0.5866, allocations: 52.63 MB / 0.7282 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/0.6044, allocations: 5.701 MB / 0.7337 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2348/0.8392, allocations: 3.236 MB / 0.7369 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/0.8547, allocations: 9.242 MB / 0.7459 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.8548, allocations: 63.72 kB / 0.746 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 7.925e-06/0.8548, allocations: 2.859 kB / 0.746 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1346/0.9894, allocations: 39.08 MB / 0.7841 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.9895, allocations: 251.8 kB / 0.7844 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00835/0.9979, allocations: 5.445 MB / 0.7897 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008621/0.9987, allocations: 85.61 kB / 0.7898 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/1.001, allocations: 4.543 MB / 0.7942 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.003, allocations: 1.312 MB / 0.7955 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002947/1.006, allocations: 1.758 MB / 0.7972 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.673e-05/1.006, allocations: 309.1 kB / 0.7975 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007172/1.013, allocations: 4.073 MB / 0.8015 GB, free: 100 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009325/1.022, allocations: 8.738 MB / 0.81 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/1.04, allocations: 13.55 MB / 0.8233 GB, free: 73.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/1.041, allocations: 48 kB / 0.8233 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.04144/1.082, allocations: 16.29 MB / 0.8392 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/1.082, allocations: 72 kB / 0.8393 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.082, allocations: 156 kB / 0.8394 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/1.096, allocations: 4.272 MB / 0.8436 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005936/1.102, allocations: 1.899 MB / 0.8455 GB, free: 50.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02571/1.127, allocations: 21.16 MB / 0.8661 GB, free: 29.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/1.134, allocations: 0.5111 MB / 0.8666 GB, free: 28.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009811/1.135, allocations: 487.7 kB / 0.8671 GB, free: 28.2 MB / 0.5606 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.003907/1.139, allocations: 3.119 MB / 0.8701 GB, free: 25.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009705/1.14, allocations: 0.5084 MB / 0.8706 GB, free: 24.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/1.158, allocations: 10.01 MB / 0.8804 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.524e-05/1.158, allocations: 39.94 kB / 0.8804 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/1.158, allocations: 12 kB / 0.8805 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.233e-05/1.158, allocations: 19.94 kB / 0.8805 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03648/1.195, allocations: 17.84 MB / 0.8979 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/1.195, allocations: 11.94 kB / 0.8979 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.198, allocations: 0.496 MB / 0.8984 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01437/1.212, allocations: 3.842 MB / 0.9021 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005781/1.213, allocations: 63.98 kB / 0.9022 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03155/1.244, allocations: 18.72 MB / 0.9205 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/1.244, allocations: 11.94 kB / 0.9205 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03757/1.282, allocations: 14.85 MB / 0.935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/1.284, allocations: 480.4 kB / 0.9355 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/1.285, allocations: 63.98 kB / 0.9355 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005184/1.291, allocations: 231.7 kB / 0.9357 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/1.292, allocations: 242.1 kB / 0.936 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005615/1.293, allocations: 101.7 kB / 0.9361 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009686/1.302, allocations: 3.228 MB / 0.9392 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/1.302, allocations: 0 / 0.9392 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01358/1.316, allocations: 1.75 MB / 0.9409 GB, free: 72 kB / 0.6075 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.001351/1.317, allocations: 262.8 kB / 0.9412 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02856/1.346, allocations: 9.34 MB / 0.9503 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/1.346, allocations: 4 kB / 0.9503 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01069/1.356, allocations: 3.449 MB / 0.9537 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006866/1.363, allocations: 0.6459 MB / 0.9543 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04779/1.411, allocations: 16.19 MB / 0.9701 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008556/1.42, allocations: 4.327 MB / 0.9743 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.2271/1.647, allocations: 2.529 MB / 0.9768 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.648, allocations: 334.2 kB / 0.9771 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/1.648, allocations: 0 / 0.9771 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.1009/1.749, allocations: 77.95 MB / 1.053 GB, free: 166.8 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.792648103000829]