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.00221/0.00221, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002415/0.002415, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.545/1.545, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2383/0.2383, allocations: 46.9 MB / 361.1 MB, free: 4.637 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.002904/0.002904, allocations: 79.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4638, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02003/0.4839, allocations: 16.08 MB / 0.5769 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.4964, allocations: 5.499 MB / 0.5823 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.4996, allocations: 111.7 kB / 0.5824 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.5103, allocations: 5.195 MB / 0.5874 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008453/0.5187, allocations: 2.661 MB / 0.59 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.5226, allocations: 1.396 MB / 0.5914 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.5357, allocations: 8.239 MB / 0.5994 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006527/0.5422, allocations: 4.849 MB / 0.6042 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.5467, allocations: 2.781 MB / 0.6069 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/0.5526, allocations: 4.027 MB / 0.6108 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.5542, allocations: 0.6367 MB / 0.6115 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.5575, allocations: 1.822 MB / 0.6132 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003383/0.5609, allocations: 3.421 MB / 0.6166 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004468/0.5653, allocations: 3.691 MB / 0.6202 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01803/0.5834, allocations: 11.96 MB / 0.6319 GB, free: 12.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5834, allocations: 0 / 0.6319 GB, free: 12.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5834, allocations: 4 kB / 0.6319 GB, free: 12.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004301/0.5838, allocations: 0 / 0.6319 GB, free: 12.34 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.02579/0.6096, allocations: 8.085 MB / 0.6398 GB, free: 4.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6096, allocations: 8.031 kB / 0.6398 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.6257, allocations: 3.097 MB / 0.6428 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.6403, allocations: 5.059 MB / 0.6477 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/0.6407, allocations: 386.1 kB / 0.6481 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/0.6428, allocations: 0.5114 MB / 0.6486 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/0.6764, allocations: 15.52 MB / 0.6638 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/0.6767, allocations: 67.52 kB / 0.6638 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000723/0.6774, allocations: 235.8 kB / 0.664 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004537/0.6819, allocations: 2.54 MB / 0.6665 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03072/0.7126, allocations: 13.1 MB / 0.6793 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3932/1.106, allocations: 57.42 MB / 0.7354 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/1.123, allocations: 6.167 MB / 0.7414 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003826/1.127, allocations: 3.232 MB / 0.7446 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/1.144, allocations: 11.66 MB / 0.756 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/1.144, allocations: 58.81 kB / 0.756 GB, free: 133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.349e-06/1.144, allocations: 0 / 0.756 GB, free: 133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1292/1.273, allocations: 39.41 MB / 0.7945 GB, free: 103 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/1.273, allocations: 239.9 kB / 0.7947 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006446/1.28, allocations: 5.72 MB / 0.8003 GB, free: 97.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000887/1.281, allocations: 81.27 kB / 0.8004 GB, free: 97.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/1.283, allocations: 4.512 MB / 0.8048 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.284, allocations: 1.313 MB / 0.8061 GB, free: 91.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00197/1.286, allocations: 1.766 MB / 0.8078 GB, free: 89.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/1.286, allocations: 301.1 kB / 0.8081 GB, free: 89.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004526/1.291, allocations: 4.093 MB / 0.8121 GB, free: 85.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005994/1.297, allocations: 8.673 MB / 0.8206 GB, free: 74.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/1.309, allocations: 13.56 MB / 0.8338 GB, free: 58.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/1.309, allocations: 48 kB / 0.8339 GB, free: 58.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.02976/1.339, allocations: 16.36 MB / 0.8498 GB, free: 42.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.339, allocations: 72 kB / 0.8499 GB, free: 42.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/1.339, allocations: 160.5 kB / 0.8501 GB, free: 42.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01322/1.353, allocations: 4.283 MB / 0.8542 GB, free: 37.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006554/1.359, allocations: 1.911 MB / 0.8561 GB, free: 35.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02932/1.388, allocations: 21.55 MB / 0.8771 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007874/1.396, allocations: 0.5072 MB / 0.8776 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/1.398, allocations: 488 kB / 0.8781 GB, free: 13.26 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.006313/1.404, allocations: 3.127 MB / 0.8812 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.406, allocations: 0.5433 MB / 0.8817 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/1.428, allocations: 10.05 MB / 0.8915 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-05/1.428, allocations: 36 kB / 0.8915 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.566e-05/1.428, allocations: 19.98 kB / 0.8916 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.977e-05/1.429, allocations: 11.95 kB / 0.8916 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05248/1.481, allocations: 20.01 MB / 0.9111 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.38e-05/1.481, allocations: 12.03 kB / 0.9111 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.484, allocations: 0.4953 MB / 0.9116 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01467/1.499, allocations: 3.833 MB / 0.9154 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008099/1.499, allocations: 71.45 kB / 0.9154 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0328/1.532, allocations: 19.1 MB / 0.9341 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/1.532, allocations: 11.94 kB / 0.9341 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03323/1.565, allocations: 14.9 MB / 0.9486 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.567, allocations: 0.6027 MB / 0.9492 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/1.569, allocations: 61.64 kB / 0.9493 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/1.573, allocations: 231.7 kB / 0.9495 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000982/1.574, allocations: 230.2 kB / 0.9497 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004553/1.574, allocations: 89.02 kB / 0.9498 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006768/1.581, allocations: 3.604 MB / 0.9533 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/1.581, allocations: 4 kB / 0.9533 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007925/1.589, allocations: 1.769 MB / 0.9551 GB, free: 13.86 MB / 0.6387 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.0008939/1.59, allocations: 254.3 kB / 0.9553 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01538/1.605, allocations: 9.348 MB / 0.9644 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.605, allocations: 4 kB / 0.9644 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005872/1.611, allocations: 3.445 MB / 0.9678 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00483/1.616, allocations: 0.7291 MB / 0.9685 GB, free: 68 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.285/1.901, allocations: 16.22 MB / 0.9844 GB, free: 225.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00602/1.907, allocations: 4.828 MB / 0.9891 GB, free: 224.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005439/1.912, allocations: 2.573 MB / 0.9916 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.914, allocations: 349.2 kB / 0.9919 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/1.914, allocations: 1.438 kB / 0.9919 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.106/2.019, allocations: 74.39 MB / 1.065 GB, free: 161.7 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 -s cvode -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: 9.473224645946175]