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.001437/0.001437, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.00143/0.00143, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.503/1.503, allocations: 230.4 MB / 258.7 MB, free: 8.016 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.3411/0.3411, allocations: 46.94 MB / 362 MB, free: 4.199 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.003045/0.003045, allocations: 79.86 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3697, allocations: 66.08 MB / 0.5623 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01832/0.388, allocations: 15.94 MB / 0.5779 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4002, allocations: 5.475 MB / 0.5832 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.4024, allocations: 131.3 kB / 0.5834 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009255/0.4116, allocations: 5.195 MB / 0.5884 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006623/0.4183, allocations: 2.681 MB / 0.5911 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.4212, allocations: 1.388 MB / 0.5924 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.4342, allocations: 8.263 MB / 0.6005 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007595/0.4418, allocations: 5.204 MB / 0.6056 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.4472, allocations: 2.812 MB / 0.6083 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007435/0.4547, allocations: 4.023 MB / 0.6122 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002193/0.4569, allocations: 0.6367 MB / 0.6129 GB, free: 252 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.4614, allocations: 1.689 MB / 0.6145 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004639/0.4661, allocations: 3.425 MB / 0.6179 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005873/0.472, allocations: 3.687 MB / 0.6215 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.4891, allocations: 12.03 MB / 0.6332 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4891, allocations: 0 / 0.6332 GB, free: 11.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4891, allocations: 0 / 0.6332 GB, free: 11.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004056/0.4895, allocations: 3.938 kB / 0.6332 GB, free: 11.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.02011/0.5096, allocations: 8.01 MB / 0.641 GB, free: 3.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5096, allocations: 11.97 kB / 0.641 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.5232, allocations: 3.093 MB / 0.6441 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.5358, allocations: 4.971 MB / 0.6489 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.5362, allocations: 378.2 kB / 0.6493 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/0.5379, allocations: 0.5075 MB / 0.6498 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03077/0.5686, allocations: 15.65 MB / 0.665 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002036/0.5688, allocations: 67.52 kB / 0.6651 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000651/0.5695, allocations: 231.8 kB / 0.6653 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/0.5735, allocations: 2.548 MB / 0.6678 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/0.6018, allocations: 13.11 MB / 0.6806 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3585/0.9603, allocations: 57.04 MB / 0.7363 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/0.9758, allocations: 5.718 MB / 0.7419 GB, free: 141 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003477/0.9793, allocations: 3.24 MB / 0.7451 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/0.993, allocations: 10.02 MB / 0.7549 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.9931, allocations: 59.62 kB / 0.7549 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 4.508e-06/0.9931, allocations: 0 / 0.7549 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.115/1.108, allocations: 39.12 MB / 0.7931 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/1.108, allocations: 243.9 kB / 0.7934 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006171/1.114, allocations: 5.716 MB / 0.7989 GB, free: 98.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006803/1.115, allocations: 77.7 kB / 0.799 GB, free: 98.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.117, allocations: 4.505 MB / 0.8034 GB, free: 94.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.118, allocations: 1.327 MB / 0.8047 GB, free: 93.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/1.12, allocations: 1.758 MB / 0.8064 GB, free: 91.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/1.12, allocations: 305.1 kB / 0.8067 GB, free: 91.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/1.125, allocations: 4.093 MB / 0.8107 GB, free: 87.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005934/1.131, allocations: 8.744 MB / 0.8193 GB, free: 76.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/1.143, allocations: 13.56 MB / 0.8325 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.579e-05/1.143, allocations: 52 kB / 0.8325 GB, free: 60.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03121/1.174, allocations: 16.36 MB / 0.8485 GB, free: 43.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/1.174, allocations: 72 kB / 0.8486 GB, free: 43.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/1.174, allocations: 156 kB / 0.8487 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/1.187, allocations: 4.29 MB / 0.8529 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/1.193, allocations: 1.903 MB / 0.8548 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02661/1.219, allocations: 21.45 MB / 0.8757 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/1.226, allocations: 0.5004 MB / 0.8762 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.227, allocations: 488 kB / 0.8767 GB, free: 15 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.005439/1.233, allocations: 3.123 MB / 0.8797 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.234, allocations: 0.5433 MB / 0.8803 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.253, allocations: 10.06 MB / 0.8901 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.452e-05/1.253, allocations: 36 kB / 0.8901 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/1.253, allocations: 20 kB / 0.8901 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/1.253, allocations: 15.94 kB / 0.8902 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0449/1.298, allocations: 19.96 MB / 0.9096 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-05/1.298, allocations: 16.02 kB / 0.9097 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.301, allocations: 0.4992 MB / 0.9101 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/1.314, allocations: 3.831 MB / 0.9139 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005504/1.314, allocations: 71.92 kB / 0.914 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0301/1.345, allocations: 19 MB / 0.9325 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.345, allocations: 11.94 kB / 0.9325 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02859/1.373, allocations: 14.91 MB / 0.9471 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.375, allocations: 0.5235 MB / 0.9476 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009128/1.376, allocations: 67.11 kB / 0.9477 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.378, allocations: 227.7 kB / 0.9479 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008016/1.379, allocations: 246.2 kB / 0.9481 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.38, allocations: 92 kB / 0.9482 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006518/1.386, allocations: 3.596 MB / 0.9517 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.386, allocations: 4 kB / 0.9517 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008064/1.394, allocations: 1.769 MB / 0.9534 GB, free: 15.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.000913/1.395, allocations: 251 kB / 0.9537 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01662/1.412, allocations: 9.348 MB / 0.9628 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.412, allocations: 7.938 kB / 0.9628 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005611/1.417, allocations: 3.443 MB / 0.9662 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/1.421, allocations: 0.7298 MB / 0.9669 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2657/1.687, allocations: 16.22 MB / 0.9827 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.692, allocations: 4.825 MB / 0.9874 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005386/1.697, allocations: 2.569 MB / 0.99 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.698, allocations: 356 kB / 0.9903 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/1.698, allocations: 0 / 0.9903 GB, free: 225.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1101/1.809, allocations: 77.81 MB / 1.066 GB, free: 159.4 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 gbode -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/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-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.06196229509078]