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.001493/0.001493, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001918/0.001918, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.538/1.538, allocations: 230.3 MB / 258 MB, free: 8.223 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.2386/0.2386, allocations: 46.94 MB / 361.4 MB, free: 4.398 MB / 286.1 MB " [Timeout remaining time 179] 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.002373/0.002373, allocations: 75.88 kB / 0.4971 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3693, allocations: 66.04 MB / 0.5616 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01834/0.3876, allocations: 16.09 MB / 0.5774 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.4009, allocations: 5.495 MB / 0.5827 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.4046, allocations: 131.3 kB / 0.5828 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.4162, allocations: 5.202 MB / 0.5879 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009168/0.4254, allocations: 2.673 MB / 0.5905 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.4296, allocations: 1.388 MB / 0.5919 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.444, allocations: 8.273 MB / 0.6 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008825/0.4528, allocations: 4.84 MB / 0.6047 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006397/0.4592, allocations: 2.82 MB / 0.6075 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007426/0.4666, allocations: 4.023 MB / 0.6114 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002376/0.469, allocations: 0.6328 MB / 0.612 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.4739, allocations: 1.83 MB / 0.6138 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005642/0.4796, allocations: 3.417 MB / 0.6171 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008572/0.4881, allocations: 3.695 MB / 0.6207 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.5091, allocations: 11.96 MB / 0.6324 GB, free: 11.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5091, allocations: 8 kB / 0.6324 GB, free: 11.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5091, allocations: 0 / 0.6324 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000511/0.5096, allocations: 3.938 kB / 0.6324 GB, free: 11.74 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.02538/0.535, allocations: 8.01 MB / 0.6402 GB, free: 3.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.535, allocations: 12.03 kB / 0.6403 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.5506, allocations: 3.089 MB / 0.6433 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.5655, allocations: 4.975 MB / 0.6481 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005323/0.566, allocations: 382.2 kB / 0.6485 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002621/0.5686, allocations: 0.5114 MB / 0.649 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03998/0.6086, allocations: 15.52 MB / 0.6642 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004436/0.609, allocations: 71.45 kB / 0.6642 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002552/0.6116, allocations: 231.8 kB / 0.6644 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004879/0.6165, allocations: 2.544 MB / 0.6669 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03203/0.6485, allocations: 13.11 MB / 0.6797 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4302/1.079, allocations: 57.23 MB / 0.7356 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.096, allocations: 5.713 MB / 0.7412 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005006/1.101, allocations: 3.237 MB / 0.7444 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/1.12, allocations: 10.02 MB / 0.7541 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/1.12, allocations: 62.09 kB / 0.7542 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 6.101e-06/1.12, allocations: 0 / 0.7542 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1222/1.242, allocations: 39.06 MB / 0.7923 GB, free: 105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.242, allocations: 239.9 kB / 0.7926 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006946/1.249, allocations: 5.712 MB / 0.7982 GB, free: 99.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008307/1.25, allocations: 78.92 kB / 0.7982 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002185/1.252, allocations: 4.511 MB / 0.8026 GB, free: 94.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.253, allocations: 1.321 MB / 0.8039 GB, free: 93.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002184/1.256, allocations: 1.758 MB / 0.8056 GB, free: 91.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/1.256, allocations: 309.1 kB / 0.8059 GB, free: 91.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004746/1.26, allocations: 4.081 MB / 0.8099 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00738/1.268, allocations: 8.674 MB / 0.8184 GB, free: 76.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/1.281, allocations: 13.56 MB / 0.8316 GB, free: 60.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.281, allocations: 44 kB / 0.8317 GB, free: 60.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03036/1.311, allocations: 16.37 MB / 0.8477 GB, free: 44.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/1.311, allocations: 72.19 kB / 0.8477 GB, free: 44.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.312, allocations: 165.2 kB / 0.8479 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01273/1.324, allocations: 4.283 MB / 0.8521 GB, free: 39.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/1.33, allocations: 1.899 MB / 0.8539 GB, free: 37.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/1.357, allocations: 21.45 MB / 0.8749 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006832/1.363, allocations: 0.5111 MB / 0.8754 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/1.365, allocations: 484 kB / 0.8758 GB, free: 15.41 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.004549/1.369, allocations: 3.13 MB / 0.8789 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.37, allocations: 0.5394 MB / 0.8794 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.39, allocations: 10.05 MB / 0.8892 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/1.39, allocations: 32 kB / 0.8893 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/1.39, allocations: 20 kB / 0.8893 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.588e-05/1.39, allocations: 15.94 kB / 0.8893 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04647/1.436, allocations: 19.98 MB / 0.9088 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/1.436, allocations: 8.469 kB / 0.9088 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/1.439, allocations: 0.4953 MB / 0.9093 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/1.452, allocations: 3.842 MB / 0.9131 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006467/1.453, allocations: 67.94 kB / 0.9131 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0334/1.486, allocations: 19 MB / 0.9317 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.486, allocations: 19.88 kB / 0.9317 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02993/1.516, allocations: 14.9 MB / 0.9462 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.518, allocations: 0.5314 MB / 0.9468 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009383/1.519, allocations: 60 kB / 0.9468 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.522, allocations: 239.4 kB / 0.947 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007605/1.523, allocations: 242.1 kB / 0.9473 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/1.523, allocations: 92 kB / 0.9474 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006093/1.529, allocations: 3.6 MB / 0.9509 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/1.529, allocations: 0 / 0.9509 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007874/1.537, allocations: 1.765 MB / 0.9526 GB, free: 268 kB / 0.6231 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.0007975/1.538, allocations: 250.2 kB / 0.9528 GB, free: 8 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01813/1.556, allocations: 9.357 MB / 0.962 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.556, allocations: 0 / 0.962 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006283/1.562, allocations: 3.449 MB / 0.9653 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/1.566, allocations: 0.7218 MB / 0.9661 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3054/1.872, allocations: 16.23 MB / 0.9819 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005358/1.877, allocations: 4.824 MB / 0.9866 GB, free: 224 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005411/1.882, allocations: 2.574 MB / 0.9891 GB, free: 223.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.884, allocations: 357.5 kB / 0.9895 GB, free: 223.9 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/1.884, allocations: 0 / 0.9895 GB, free: 223.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.1154/1.999, allocations: 77.79 MB / 1.065 GB, free: 160.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.546350786462426]