Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002361/0.002361, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2194/0.2194, allocations: 46.9 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 75.88 kB / 0.4968 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.337, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01826/0.3553, allocations: 16.09 MB / 0.5769 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3666, allocations: 5.499 MB / 0.5823 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.3692, allocations: 111.7 kB / 0.5824 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009672/0.3788, allocations: 5.195 MB / 0.5875 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006847/0.3857, allocations: 2.654 MB / 0.59 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.389, allocations: 1.4 MB / 0.5914 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01293/0.4019, allocations: 8.247 MB / 0.5995 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006881/0.4088, allocations: 4.838 MB / 0.6042 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004811/0.4136, allocations: 2.773 MB / 0.6069 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006524/0.4201, allocations: 4.035 MB / 0.6108 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.4217, allocations: 0.6328 MB / 0.6115 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.4253, allocations: 1.822 MB / 0.6132 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.4295, allocations: 3.425 MB / 0.6166 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005422/0.4349, allocations: 3.691 MB / 0.6202 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.4517, allocations: 11.96 MB / 0.6319 GB, free: 12.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4517, allocations: 0 / 0.6319 GB, free: 12.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4517, allocations: 0 / 0.6319 GB, free: 12.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003628/0.4521, allocations: 0 / 0.6319 GB, free: 12.33 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.02019/0.4723, allocations: 8.085 MB / 0.6398 GB, free: 4.152 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.4724, allocations: 12.03 kB / 0.6398 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.487, allocations: 3.097 MB / 0.6428 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.5003, allocations: 5.059 MB / 0.6477 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.5008, allocations: 386.1 kB / 0.6481 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/0.5031, allocations: 0.5114 MB / 0.6486 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/0.5367, allocations: 15.52 MB / 0.6638 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002438/0.5369, allocations: 63.53 kB / 0.6638 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.5381, allocations: 239.8 kB / 0.6641 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0044/0.5425, allocations: 2.544 MB / 0.6665 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/0.5708, allocations: 13.1 MB / 0.6793 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.349/0.9198, allocations: 57.42 MB / 0.7354 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/0.937, allocations: 6.165 MB / 0.7414 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/0.941, allocations: 3.223 MB / 0.7446 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/0.9587, allocations: 11.66 MB / 0.756 GB, free: 133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.9587, allocations: 65.45 kB / 0.756 GB, free: 133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 5.841e-06/0.9587, allocations: 0 / 0.756 GB, free: 133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1209/1.08, allocations: 39.42 MB / 0.7945 GB, free: 103 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.08, allocations: 243.2 kB / 0.7947 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006214/1.086, allocations: 5.715 MB / 0.8003 GB, free: 97.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007569/1.087, allocations: 77.7 kB / 0.8004 GB, free: 97.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.089, allocations: 4.509 MB / 0.8048 GB, free: 92.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.09, allocations: 1.319 MB / 0.8061 GB, free: 91.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/1.092, allocations: 1.766 MB / 0.8078 GB, free: 89.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/1.092, allocations: 301.1 kB / 0.8081 GB, free: 89.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.097, allocations: 4.095 MB / 0.8121 GB, free: 85.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005495/1.102, allocations: 8.669 MB / 0.8206 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.113, allocations: 13.56 MB / 0.8338 GB, free: 58.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.849e-05/1.114, allocations: 44 kB / 0.8339 GB, free: 58.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02774/1.141, allocations: 16.38 MB / 0.8499 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/1.141, allocations: 72 kB / 0.8499 GB, free: 42.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.141, allocations: 156 kB / 0.8501 GB, free: 42.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/1.154, allocations: 4.282 MB / 0.8543 GB, free: 37.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/1.16, allocations: 1.899 MB / 0.8561 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/1.185, allocations: 21.56 MB / 0.8772 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006604/1.192, allocations: 0.5033 MB / 0.8776 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.193, allocations: 484 kB / 0.8781 GB, free: 13.29 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 (1031): * Single equations (assignments): 1027 * 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.004235/1.197, allocations: 3.127 MB / 0.8812 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000953/1.198, allocations: 0.5433 MB / 0.8817 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/1.216, allocations: 10.05 MB / 0.8915 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.175e-05/1.216, allocations: 15.94 kB / 0.8915 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.216, allocations: 7.844 kB / 0.8915 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.218, allocations: 0.5871 MB / 0.8921 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/1.22, allocations: 55.44 kB / 0.8922 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.223, allocations: 231.7 kB / 0.8924 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007148/1.224, allocations: 269.7 kB / 0.8926 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02129/1.245, allocations: 9.774 MB / 0.9022 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01664/1.262, allocations: 11.41 MB / 0.9133 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004368/1.266, allocations: 2.95 MB / 0.9162 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005897/1.272, allocations: 3.6 MB / 0.9197 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of Backend: time 4.11e-07/1.272, allocations: 7.938 kB / 0.9197 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.287, allocations: 6.87 MB / 0.9264 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02612/1.313, allocations: 14.61 MB / 0.9407 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.4345/1.747, allocations: 88.55 MB / 1.027 GB, free: 196.3 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.43575444072485]