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.0007998/0.0007998, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001897, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000674/0.000674, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008978/0.001572, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9853/0.9853, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09467/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2575/0.2575, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02451/0.282, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 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 2.996e-06/2.996e-06, allocations: 7.938 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.829e-05, allocations: 7.859 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01459/0.01462, allocations: 15.2 MB / 308 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02491, allocations: 5.602 MB / 313.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.02747, allocations: 131.3 kB / 313.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006014/0.03348, allocations: 5.186 MB / 318.9 MB, free: 12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.04046, allocations: 2.741 MB / 321.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.04379, allocations: 1.439 MB / 323.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.05458, allocations: 8.566 MB / 331.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.06578, allocations: 5.577 MB / 337.3 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009887/0.07567, allocations: 5.436 MB / 342.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005693/0.08136, allocations: 4.026 MB / 346.7 MB, free: 44 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00178/0.08314, allocations: 0.6446 MB / 347.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.08703, allocations: 1.787 MB / 349.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003469/0.0905, allocations: 3.196 MB / 352.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.09451, allocations: 1.831 MB / 354.2 MB, free: 8.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.104, allocations: 6.976 MB / 361.2 MB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.104, allocations: 4 kB / 361.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.104, allocations: 0 / 361.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004045/0.1044, allocations: 0 / 361.2 MB, free: 1.566 MB / 346.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.0156/0.12, allocations: 8.748 MB / 369.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1201, allocations: 8.031 kB / 369.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005855/0.1259, allocations: 1.597 MB / 371.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00946/0.1354, allocations: 3.463 MB / 375 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004226/0.1358, allocations: 382.2 kB / 375.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/0.1379, allocations: 0.508 MB / 375.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.1561, allocations: 7.432 MB / 383.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.1563, allocations: 59.52 kB / 383.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004279/0.1567, allocations: 235.8 kB / 383.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.1586, allocations: 2.177 MB / 385.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006971/0.1656, allocations: 3.757 MB / 389.5 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/0.1995, allocations: 43.02 MB / 432.5 MB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006039/0.2055, allocations: 2.696 MB / 435.2 MB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.2062, allocations: 0.6472 MB / 435.9 MB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1733/0.3796, allocations: 6.631 MB / 442.5 MB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3796, allocations: 55.5 kB / 442.6 MB, free: 120.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 4.528e-06/0.3796, allocations: 0 / 442.6 MB, free: 120.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.0295/0.4091, allocations: 12.72 MB / 455.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.4091, allocations: 157.8 kB / 455.4 MB, free: 119.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.4123, allocations: 4.425 MB / 459.9 MB, free: 118.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.4125, allocations: 72.98 kB / 459.9 MB, free: 118.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.4137, allocations: 4.175 MB / 464.1 MB, free: 115.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000542/0.4142, allocations: 1.206 MB / 465.3 MB, free: 114.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.4154, allocations: 1.594 MB / 466.9 MB, free: 113.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.459e-05/0.4154, allocations: 301.1 kB / 467.2 MB, free: 113.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4169, allocations: 1.145 MB / 468.3 MB, free: 112.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.4195, allocations: 5.709 MB / 474.1 MB, free: 104.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/0.4242, allocations: 8.088 MB / 482.1 MB, free: 94.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.205e-05/0.4242, allocations: 48 kB / 482.2 MB, free: 94.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.006901/0.4311, allocations: 6.35 MB / 488.5 MB, free: 87.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.4312, allocations: 75.94 kB / 488.6 MB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.301e-05/0.4312, allocations: 172 kB / 488.8 MB, free: 87.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/0.4345, allocations: 1.465 MB / 490.2 MB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.4375, allocations: 2.046 MB / 492.3 MB, free: 84.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.4433, allocations: 4.685 MB / 497 MB, free: 79.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.4463, allocations: 347.7 kB / 497.3 MB, free: 79.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/0.4467, allocations: 412 kB / 497.7 MB, free: 78.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001639/0.4483, allocations: 0.7842 MB / 498.5 MB, free: 77.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.4488, allocations: 363.5 kB / 498.9 MB, free: 77.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/0.4524, allocations: 2.452 MB / 0.4896 GB, free: 75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.4525, allocations: 28 kB / 0.4896 GB, free: 74.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4525, allocations: 8 kB / 0.4896 GB, free: 74.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.4525, allocations: 15.95 kB / 0.4896 GB, free: 74.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009281/0.4618, allocations: 8.265 MB / 0.4977 GB, free: 66.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.4618, allocations: 23.94 kB / 0.4977 GB, free: 66.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/0.4628, allocations: 495.7 kB / 0.4982 GB, free: 65.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.4633, allocations: 496.4 kB / 0.4987 GB, free: 65.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/0.4665, allocations: 1.455 MB / 0.5001 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.4666, allocations: 64 kB / 0.5001 GB, free: 63.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004331/0.4709, allocations: 3.545 MB / 0.5036 GB, free: 60.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.4709, allocations: 19.94 kB / 0.5036 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0042/0.4751, allocations: 3.88 MB / 0.5074 GB, free: 56.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.4755, allocations: 64 kB / 0.5075 GB, free: 55.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/0.4765, allocations: 71.97 kB / 0.5075 GB, free: 55.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.4767, allocations: 233.2 kB / 0.5078 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4768, allocations: 79.98 kB / 0.5078 GB, free: 55.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.4779, allocations: 1.716 MB / 0.5095 GB, free: 53.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4779, allocations: 0 / 0.5095 GB, free: 53.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003715/0.4816, allocations: 1.75 MB / 0.5112 GB, free: 52.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00043/0.482, allocations: 269.9 kB / 0.5115 GB, free: 51.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003439/0.4855, allocations: 3.986 MB / 0.5154 GB, free: 47.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001886/0.4857, allocations: 144 kB / 0.5155 GB, free: 47.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.4873, allocations: 1.926 MB / 0.5174 GB, free: 45.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.49, allocations: 4.645 MB / 0.5219 GB, free: 40.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.5045, allocations: 12.29 MB / 0.5339 GB, free: 27.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.5059, allocations: 1.972 MB / 0.5358 GB, free: 25.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00149/0.5074, allocations: 0.7092 MB / 0.5365 GB, free: 25.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.5084, allocations: 0.7822 MB / 0.5373 GB, free: 24.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.554e-06/0.5084, allocations: 0 / 0.5373 GB, free: 24.47 MB / 426.7 MB Notification: Performance of Templates: time 0.2218/0.7302, allocations: 62.46 MB / 0.5983 GB, free: 151.5 MB / 474.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.286167051643133]