Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00165/0.00165, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002172/0.002172, allocations: 210.9 kB / 22.98 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2561/0.2561, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 67.91 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1635, allocations: 61.05 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02096/0.1844, allocations: 13.97 MB / 0.5303 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2006, allocations: 5.235 MB / 0.5354 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005364/0.2059, allocations: 131.3 kB / 0.5355 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3578/0.5637, allocations: 4.975 MB / 0.5404 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.5743, allocations: 2.726 MB / 0.543 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00468/0.579, allocations: 1.395 MB / 0.5444 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01527/0.5942, allocations: 7.609 MB / 0.5518 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009992/0.6042, allocations: 5.198 MB / 0.5569 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007601/0.6118, allocations: 2.832 MB / 0.5597 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00796/0.6198, allocations: 3.796 MB / 0.5634 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003016/0.6228, allocations: 0.6349 MB / 0.564 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006075/0.6289, allocations: 1.679 MB / 0.5656 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005268/0.6341, allocations: 3.451 MB / 0.569 GB, free: 4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008306/0.6425, allocations: 2.815 MB / 0.5718 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02166/0.6641, allocations: 12.09 MB / 0.5836 GB, free: 9.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.6641, allocations: 4 kB / 0.5836 GB, free: 9.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6641, allocations: 0 / 0.5836 GB, free: 9.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006194/0.6648, allocations: 0 / 0.5836 GB, free: 9.938 MB / 430.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.03204/0.6968, allocations: 8.05 MB / 0.5914 GB, free: 4.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.6969, allocations: 12.03 kB / 0.5914 GB, free: 4.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/0.7148, allocations: 3.097 MB / 0.5945 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.7305, allocations: 5.226 MB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004185/0.7309, allocations: 381.5 kB / 0.5999 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.7335, allocations: 0.5159 MB / 0.6004 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03641/0.77, allocations: 15.63 MB / 0.6157 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003718/0.7703, allocations: 71.45 kB / 0.6158 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.7715, allocations: 237.5 kB / 0.616 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004314/0.7758, allocations: 2.548 MB / 0.6185 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03299/0.8088, allocations: 13.08 MB / 0.6313 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08758/0.8964, allocations: 52.64 MB / 0.6827 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/0.9158, allocations: 5.693 MB / 0.6882 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006001/0.9218, allocations: 3.229 MB / 0.6914 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02303/0.9448, allocations: 9.245 MB / 0.7004 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.9449, allocations: 60.56 kB / 0.7005 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 6.602e-06/0.9449, allocations: 0 / 0.7005 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1553/1.1, allocations: 39.56 MB / 0.7391 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/1.1, allocations: 247.8 kB / 0.7393 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/1.114, allocations: 5.486 MB / 0.7447 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.115, allocations: 84.45 kB / 0.7448 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004841/1.12, allocations: 4.545 MB / 0.7492 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002551/1.123, allocations: 1.331 MB / 0.7505 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007164/1.13, allocations: 1.751 MB / 0.7522 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.13, allocations: 301.1 kB / 0.7525 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0086/1.139, allocations: 4.073 MB / 0.7565 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3074/1.446, allocations: 8.726 MB / 0.765 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/1.465, allocations: 13.54 MB / 0.7782 GB, free: 175 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002452/1.465, allocations: 50.7 kB / 0.7783 GB, free: 175 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.04191/1.507, allocations: 16.28 MB / 0.7942 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003436/1.507, allocations: 72 kB / 0.7943 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005285/1.508, allocations: 160.2 kB / 0.7944 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01497/1.523, allocations: 4.279 MB / 0.7986 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006939/1.529, allocations: 1.888 MB / 0.8004 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03079/1.56, allocations: 21.18 MB / 0.8211 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008912/1.569, allocations: 0.5 MB / 0.8216 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/1.571, allocations: 484.9 kB / 0.8221 GB, free: 159.1 MB / 0.5919 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.007743/1.579, allocations: 3.123 MB / 0.8251 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.581, allocations: 0.4999 MB / 0.8256 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02219/1.603, allocations: 10.02 MB / 0.8354 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.376e-05/1.603, allocations: 41.11 kB / 0.8354 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-05/1.603, allocations: 16 kB / 0.8354 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.779e-05/1.603, allocations: 15.94 kB / 0.8355 GB, free: 147.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04272/1.646, allocations: 17.83 MB / 0.8529 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-05/1.646, allocations: 8 kB / 0.8529 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.649, allocations: 0.4914 MB / 0.8534 GB, free: 128.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01245/1.661, allocations: 3.84 MB / 0.8571 GB, free: 125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001275/1.662, allocations: 67.98 kB / 0.8572 GB, free: 125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/1.689, allocations: 18.75 MB / 0.8755 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.689, allocations: 16 kB / 0.8755 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02626/1.715, allocations: 14.83 MB / 0.89 GB, free: 91.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004439/1.719, allocations: 1.073 MB / 0.891 GB, free: 90.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002147/1.721, allocations: 67.84 kB / 0.8911 GB, free: 90.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/1.726, allocations: 227.7 kB / 0.8913 GB, free: 90.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/1.727, allocations: 250.1 kB / 0.8916 GB, free: 89.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005914/1.727, allocations: 91.52 kB / 0.8916 GB, free: 89.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007577/1.735, allocations: 3.264 MB / 0.8948 GB, free: 86.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.735, allocations: 0 / 0.8948 GB, free: 86.44 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01306/1.748, allocations: 1.777 MB / 0.8966 GB, free: 84.68 MB / 0.5919 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.001241/1.749, allocations: 260.5 kB / 0.8968 GB, free: 84.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01708/1.766, allocations: 9.328 MB / 0.9059 GB, free: 75.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.766, allocations: 4 kB / 0.9059 GB, free: 75.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0057/1.772, allocations: 3.444 MB / 0.9093 GB, free: 71.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/1.778, allocations: 0.6547 MB / 0.9099 GB, free: 71.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/1.809, allocations: 16.24 MB / 0.9258 GB, free: 54.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009028/1.818, allocations: 4.346 MB / 0.93 GB, free: 50.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009494/1.828, allocations: 2.531 MB / 0.9325 GB, free: 47.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/1.83, allocations: 331.4 kB / 0.9328 GB, free: 47.44 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/1.83, allocations: 0 / 0.9328 GB, free: 47.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.3758/2.205, allocations: 78.38 MB / 1.009 GB, free: 189 MB / 0.6075 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.611516293138266]