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.001832/0.001832, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002392/0.002392, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3729/0.3729, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.796e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02039/0.02042, allocations: 13.91 MB / 391.2 MB, free: 4.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.03349, allocations: 5.241 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.03642, allocations: 127.4 kB / 396.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.04779, allocations: 5.331 MB / 401.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008695/0.05648, allocations: 2.76 MB / 404.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.06046, allocations: 1.567 MB / 406.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01505/0.07551, allocations: 9.348 MB / 415.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/0.08599, allocations: 6.138 MB / 421.7 MB, free: 6.316 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.09667, allocations: 4.241 MB / 425.9 MB, free: 2.066 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008503/0.1052, allocations: 4.139 MB / 430.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002339/0.1075, allocations: 0.6562 MB / 430.7 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.1122, allocations: 1.74 MB / 432.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005637/0.1179, allocations: 3.6 MB / 436.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005463/0.1233, allocations: 2.267 MB / 438.3 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1937/0.317, allocations: 12.27 MB / 450.6 MB, free: 67.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.317, allocations: 3.281 kB / 450.6 MB, free: 67.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.317, allocations: 1.688 kB / 450.6 MB, free: 67.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005202/0.3176, allocations: 0 / 450.6 MB, free: 67.42 MB / 410.7 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.02583/0.3434, allocations: 8.152 MB / 458.8 MB, free: 64.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3434, allocations: 9.469 kB / 458.8 MB, free: 64.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01825/0.3617, allocations: 3.852 MB / 462.6 MB, free: 64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.3752, allocations: 4.972 MB / 467.6 MB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/0.3757, allocations: 378.6 kB / 468 MB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003181/0.3789, allocations: 0.5109 MB / 468.5 MB, free: 63.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/0.414, allocations: 15.78 MB / 484.3 MB, free: 56.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000719/0.4147, allocations: 69.03 kB / 484.3 MB, free: 56.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003112/0.4178, allocations: 237.3 kB / 484.6 MB, free: 56.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005151/0.423, allocations: 2.558 MB / 487.1 MB, free: 56.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02785/0.4508, allocations: 13.21 MB / 0.4886 GB, free: 52.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07328/0.5241, allocations: 53.46 MB / 0.5408 GB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/0.5413, allocations: 5.877 MB / 0.5465 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006144/0.5475, allocations: 3.296 MB / 0.5498 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02772/0.5752, allocations: 9.771 MB / 0.5593 GB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.5753, allocations: 60.88 kB / 0.5594 GB, free: 1.258 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 8.175e-06/0.5754, allocations: 0 / 0.5594 GB, free: 1.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=353): time 0.1914/0.7667, allocations: 48.12 MB / 0.6064 GB, free: 1.348 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.767, allocations: 247.3 kB / 0.6066 GB, free: 1.059 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1923/0.9592, allocations: 5.642 MB / 0.6121 GB, free: 152.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009926/0.9602, allocations: 79.64 kB / 0.6122 GB, free: 152.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/0.9631, allocations: 4.47 MB / 0.6165 GB, free: 149.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/0.9651, allocations: 1.333 MB / 0.6178 GB, free: 148.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003142/0.9682, allocations: 1.73 MB / 0.6195 GB, free: 147.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.9683, allocations: 301.1 kB / 0.6198 GB, free: 147.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005595/0.9739, allocations: 4.276 MB / 0.624 GB, free: 145.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008152/0.982, allocations: 8.869 MB / 0.6327 GB, free: 138.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/0.9974, allocations: 13.9 MB / 0.6462 GB, free: 128.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/0.9976, allocations: 44.41 kB / 0.6463 GB, free: 128.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.03688/1.034, allocations: 17.57 MB / 0.6634 GB, free: 121.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.035, allocations: 76.06 kB / 0.6635 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/1.035, allocations: 159.4 kB / 0.6636 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/1.052, allocations: 5.615 MB / 0.6691 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006351/1.059, allocations: 1.898 MB / 0.671 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/1.089, allocations: 22.88 MB / 0.6933 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008023/1.097, allocations: 0.628 MB / 0.6939 GB, free: 94.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/1.099, allocations: 476 kB / 0.6944 GB, free: 93.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * 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 (1023): * Single equations (assignments): 1019 * 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.006478/1.105, allocations: 3.127 MB / 0.6974 GB, free: 90.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00228/1.107, allocations: 0.6021 MB / 0.698 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02259/1.13, allocations: 11 MB / 0.7088 GB, free: 78.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/1.13, allocations: 36 kB / 0.7088 GB, free: 78.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.062e-05/1.13, allocations: 19.42 kB / 0.7088 GB, free: 78.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/1.13, allocations: 19.95 kB / 0.7088 GB, free: 78.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04347/1.174, allocations: 19.6 MB / 0.728 GB, free: 59.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-05/1.174, allocations: 8 kB / 0.728 GB, free: 59.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.176, allocations: 0.5312 MB / 0.7285 GB, free: 58.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01718/1.193, allocations: 5.153 MB / 0.7335 GB, free: 53.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009578/1.194, allocations: 72 kB / 0.7336 GB, free: 53.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/1.221, allocations: 20.36 MB / 0.7535 GB, free: 32.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.222, allocations: 19.88 kB / 0.7535 GB, free: 32.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02795/1.249, allocations: 16.28 MB / 0.7694 GB, free: 16.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.251, allocations: 0.5394 MB / 0.7699 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001638/1.253, allocations: 67.98 kB / 0.77 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/1.257, allocations: 355.5 kB / 0.7703 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000921/1.258, allocations: 253.6 kB / 0.7706 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003848/1.258, allocations: 101.2 kB / 0.7707 GB, free: 15.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005455/1.264, allocations: 3.395 MB / 0.774 GB, free: 11.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/1.264, allocations: 0 / 0.774 GB, free: 11.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.1771/1.441, allocations: 1.997 MB / 0.7759 GB, free: 138.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (271): * Single equations (assignments): 267 * 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.001154/1.442, allocations: 279.5 kB / 0.7762 GB, free: 138.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01405/1.456, allocations: 9.756 MB / 0.7857 GB, free: 136.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.456, allocations: 3.938 kB / 0.7857 GB, free: 136.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005108/1.461, allocations: 3.684 MB / 0.7893 GB, free: 135.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006469/1.468, allocations: 0.6901 MB / 0.79 GB, free: 135.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/1.502, allocations: 16.55 MB / 0.8062 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007312/1.509, allocations: 4.351 MB / 0.8104 GB, free: 126.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006239/1.515, allocations: 2.545 MB / 0.8129 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.517, allocations: 340.4 kB / 0.8132 GB, free: 126.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.512e-06/1.517, allocations: 0 / 0.8132 GB, free: 126.6 MB / 474.7 MB Notification: Performance of Templates: time 0.1071/1.624, allocations: 76.82 MB / 0.8882 GB, free: 61.42 MB / 474.7 MB " [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 -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/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_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.866627765935846]