Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001724/0.001724, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002102/0.002102, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 34.27 MB / 295.5 MB, free: 14.62 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 59.91 kB / 443.1 MB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 66 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01171/0.3105, allocations: 13.91 MB / 0.5108 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.3195, allocations: 5.219 MB / 0.5159 GB, free: 17.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.3212, allocations: 128.2 kB / 0.516 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008097/0.3293, allocations: 4.979 MB / 0.5209 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.3362, allocations: 2.683 MB / 0.5235 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.3393, allocations: 1.393 MB / 0.5249 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.3506, allocations: 8.266 MB / 0.5329 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006007/0.3566, allocations: 5.173 MB / 0.538 GB, free: 7.453 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.3608, allocations: 2.829 MB / 0.5407 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004974/0.3658, allocations: 3.765 MB / 0.5444 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.3672, allocations: 0.6336 MB / 0.545 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.3704, allocations: 1.676 MB / 0.5467 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.373, allocations: 3.421 MB / 0.55 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.3768, allocations: 2.786 MB / 0.5527 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.3907, allocations: 12.03 MB / 0.5645 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3907, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3907, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.3909, allocations: 0 / 0.5645 GB, free: 0.6758 MB / 462.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.01947/0.4104, allocations: 8.01 MB / 0.5723 GB, free: 8.586 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4104, allocations: 16.03 kB / 0.5723 GB, free: 8.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.4258, allocations: 3.222 MB / 0.5755 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.4383, allocations: 4.979 MB / 0.5803 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.4387, allocations: 382.3 kB / 0.5807 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.44, allocations: 0.5113 MB / 0.5812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02948/0.4694, allocations: 15.66 MB / 0.5965 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/0.4697, allocations: 67.47 kB / 0.5965 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000742/0.4704, allocations: 239.8 kB / 0.5968 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004189/0.4746, allocations: 2.544 MB / 0.5993 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02956/0.5042, allocations: 13.09 MB / 0.612 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07729/0.5815, allocations: 52.78 MB / 0.6636 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/0.5999, allocations: 5.917 MB / 0.6694 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004715/0.6047, allocations: 3.231 MB / 0.6725 GB, free: 15.51 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/0.6218, allocations: 9.292 MB / 0.6816 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.6218, allocations: 60.5 kB / 0.6817 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=248): time 4.929e-06/0.6219, allocations: 0 / 0.6817 GB, free: 6.113 MB / 0.5763 GB Notification: Performance of matching and sorting (n=343): time 0.364/0.9858, allocations: 40.23 MB / 0.7209 GB, free: 139.1 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9859, allocations: 243.8 kB / 0.7212 GB, free: 138.8 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007889/0.9938, allocations: 5.453 MB / 0.7265 GB, free: 136.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008005/0.9946, allocations: 81.33 kB / 0.7266 GB, free: 136.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.9971, allocations: 4.537 MB / 0.731 GB, free: 133.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.9983, allocations: 1.322 MB / 0.7323 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/1, allocations: 1.757 MB / 0.734 GB, free: 131.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/1, allocations: 305.1 kB / 0.7343 GB, free: 131.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/1.005, allocations: 4.079 MB / 0.7383 GB, free: 130.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006569/1.012, allocations: 8.732 MB / 0.7468 GB, free: 122.4 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/1.024, allocations: 13.56 MB / 0.7601 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.23e-05/1.024, allocations: 44 kB / 0.7601 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02689/1.051, allocations: 16.28 MB / 0.776 GB, free: 92.25 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/1.051, allocations: 79.98 kB / 0.7761 GB, free: 92.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/1.051, allocations: 159.8 kB / 0.7762 GB, free: 92.02 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/1.063, allocations: 4.275 MB / 0.7804 GB, free: 87.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005955/1.069, allocations: 1.899 MB / 0.7823 GB, free: 85.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0265/1.096, allocations: 21.16 MB / 0.8029 GB, free: 64.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007157/1.103, allocations: 0.5073 MB / 0.8034 GB, free: 64.08 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.104, allocations: 484 kB / 0.8039 GB, free: 63.61 MB / 0.5763 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.005105/1.109, allocations: 3.122 MB / 0.8069 GB, free: 60.47 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/1.111, allocations: 0.5006 MB / 0.8074 GB, free: 59.96 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/1.13, allocations: 10.03 MB / 0.8172 GB, free: 49.87 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-05/1.13, allocations: 35.36 kB / 0.8173 GB, free: 49.84 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.964e-05/1.13, allocations: 16 kB / 0.8173 GB, free: 49.82 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.401e-05/1.13, allocations: 15.94 kB / 0.8173 GB, free: 49.81 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03722/1.167, allocations: 17.84 MB / 0.8347 GB, free: 31.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.067e-05/1.167, allocations: 11.94 kB / 0.8347 GB, free: 31.83 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/1.17, allocations: 500 kB / 0.8352 GB, free: 31.34 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01198/1.181, allocations: 3.842 MB / 0.8389 GB, free: 27.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006724/1.182, allocations: 74.84 kB / 0.839 GB, free: 27.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/1.206, allocations: 18.73 MB / 0.8573 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.206, allocations: 8 kB / 0.8573 GB, free: 8.59 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/1.234, allocations: 14.86 MB / 0.8718 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/1.236, allocations: 488.4 kB / 0.8723 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00219/1.238, allocations: 60 kB / 0.8723 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004995/1.243, allocations: 231.7 kB / 0.8726 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/1.245, allocations: 246.1 kB / 0.8728 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000764/1.245, allocations: 91.98 kB / 0.8729 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007605/1.253, allocations: 3.228 MB / 0.876 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.253, allocations: 0 / 0.876 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009863/1.263, allocations: 1.758 MB / 0.8778 GB, free: 3.461 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.001093/1.264, allocations: 254.1 kB / 0.878 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01685/1.281, allocations: 9.339 MB / 0.8871 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.281, allocations: 4 kB / 0.8871 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006277/1.287, allocations: 3.45 MB / 0.8905 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00586/1.293, allocations: 0.6408 MB / 0.8911 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.325, allocations: 16.2 MB / 0.9069 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008005/1.333, allocations: 4.331 MB / 0.9112 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006156/1.339, allocations: 2.527 MB / 0.9136 GB, free: 14.52 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.34, allocations: 336.4 kB / 0.914 GB, free: 14.19 MB / 0.6388 GB Notification: Performance of SimCode: time 1.103e-06/1.34, allocations: 0 / 0.914 GB, free: 14.19 MB / 0.6388 GB Notification: Performance of Templates: time 0.3391/1.679, allocations: 70.86 MB / 0.9832 GB, free: 189.5 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.612529577920213]