Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002703/0.002703, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00338/0.00338, allocations: 165.3 kB / 24.28 MB, free: 156 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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3467/0.3467, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.604e-05, allocations: 9.688 kB / 375.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02105/0.02107, allocations: 15.33 MB / 390.6 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.03385, allocations: 5.358 MB / 395.9 MB, free: 232 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.0365, allocations: 135.3 kB / 396.1 MB, free: 96 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01162/0.04812, allocations: 5.487 MB / 401.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.05616, allocations: 2.768 MB / 404.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.05995, allocations: 1.563 MB / 405.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.0746, allocations: 9.345 MB / 415.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.08474, allocations: 6.158 MB / 421.4 MB, free: 6.633 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009123/0.09386, allocations: 4.273 MB / 425.7 MB, free: 2.352 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007618/0.1015, allocations: 4.26 MB / 429.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001821/0.1033, allocations: 0.6484 MB / 430.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.1076, allocations: 1.74 MB / 432.3 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005058/0.1127, allocations: 3.616 MB / 435.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004783/0.1175, allocations: 2.275 MB / 438.2 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1676/0.2851, allocations: 12.24 MB / 450.4 MB, free: 67.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2851, allocations: 0 / 450.4 MB, free: 67.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2851, allocations: 0 / 450.4 MB, free: 67.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003262/0.2854, allocations: 0 / 450.4 MB, free: 67.53 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.01966/0.3051, allocations: 9.333 MB / 459.8 MB, free: 64.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3051, allocations: 12.77 kB / 459.8 MB, free: 64.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.3215, allocations: 3.767 MB / 463.6 MB, free: 63.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.3331, allocations: 4.499 MB / 468.1 MB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.3334, allocations: 383.4 kB / 468.4 MB, free: 63.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002163/0.3355, allocations: 0.5059 MB / 468.9 MB, free: 63.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/0.3592, allocations: 10.16 MB / 479.1 MB, free: 57.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.3595, allocations: 65.06 kB / 479.2 MB, free: 57.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009417/0.3604, allocations: 236.7 kB / 479.4 MB, free: 57.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004422/0.3649, allocations: 2.546 MB / 481.9 MB, free: 57.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.3871, allocations: 5.704 MB / 487.6 MB, free: 56.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07481/0.4619, allocations: 69.71 MB / 0.5443 GB, free: 16.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/0.4786, allocations: 4.093 MB / 0.5483 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.4815, allocations: 1.141 MB / 0.5494 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/0.5012, allocations: 7.042 MB / 0.5563 GB, free: 3.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.788e-05/0.5013, allocations: 61.47 kB / 0.5563 GB, free: 3.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 7.354e-06/0.5013, allocations: 0 / 0.5563 GB, free: 3.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.1198/0.6211, allocations: 28.37 MB / 0.584 GB, free: 7.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004988/0.6216, allocations: 239.9 kB / 0.5843 GB, free: 7.473 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.6328, allocations: 6.239 MB / 0.5904 GB, free: 1.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000892/0.6336, allocations: 77.7 kB / 0.5904 GB, free: 1.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005451/0.6391, allocations: 5.029 MB / 0.5954 GB, free: 12.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002607/0.6417, allocations: 1.449 MB / 0.5968 GB, free: 10.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004628/0.6463, allocations: 2.221 MB / 0.5989 GB, free: 8.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.6466, allocations: 480.5 kB / 0.5994 GB, free: 8.023 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/0.6506, allocations: 1.45 MB / 0.6008 GB, free: 6.566 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2176/0.8682, allocations: 8.576 MB / 0.6092 GB, free: 132.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/0.8805, allocations: 11.36 MB / 0.6203 GB, free: 123.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003367/0.8808, allocations: 45.78 kB / 0.6203 GB, free: 123.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.03211/0.9129, allocations: 10.47 MB / 0.6305 GB, free: 121.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.9131, allocations: 72.84 kB / 0.6306 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/0.9133, allocations: 160.3 kB / 0.6308 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/0.9281, allocations: 3.25 MB / 0.6339 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007247/0.9353, allocations: 1.895 MB / 0.6358 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.9586, allocations: 9.036 MB / 0.6446 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/0.9675, allocations: 0.5852 MB / 0.6452 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/0.9698, allocations: 486.4 kB / 0.6457 GB, free: 119.4 MB / 474.7 MB 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.005252/0.9751, allocations: 0.9445 MB / 0.6466 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/0.9768, allocations: 0.6024 MB / 0.6472 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/0.9935, allocations: 5.577 MB / 0.6526 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/0.9935, allocations: 38.56 kB / 0.6526 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.9935, allocations: 15 kB / 0.6527 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.981e-05/0.9936, allocations: 19.58 kB / 0.6527 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04195/1.036, allocations: 14.7 MB / 0.667 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.036, allocations: 11.69 kB / 0.6671 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/1.038, allocations: 0.5006 MB / 0.6675 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01453/1.053, allocations: 2.845 MB / 0.6703 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/1.054, allocations: 67.98 kB / 0.6704 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/1.073, allocations: 7.327 MB / 0.6775 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.073, allocations: 11.94 kB / 0.6775 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/1.096, allocations: 7.365 MB / 0.6847 GB, free: 93.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/1.098, allocations: 0.5238 MB / 0.6853 GB, free: 93.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/1.1, allocations: 68.02 kB / 0.6853 GB, free: 93.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004808/1.105, allocations: 306.7 kB / 0.6856 GB, free: 93.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/1.106, allocations: 244.7 kB / 0.6858 GB, free: 92.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000697/1.107, allocations: 94.17 kB / 0.6859 GB, free: 92.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006013/1.113, allocations: 2.654 MB / 0.6885 GB, free: 90.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/1.113, allocations: 0 / 0.6885 GB, free: 90.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01089/1.124, allocations: 1.963 MB / 0.6904 GB, free: 88.1 MB / 474.7 MB 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.001342/1.125, allocations: 280.6 kB / 0.6907 GB, free: 87.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01364/1.139, allocations: 5.903 MB / 0.6965 GB, free: 81.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/1.139, allocations: 0 / 0.6965 GB, free: 81.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004615/1.143, allocations: 2.064 MB / 0.6985 GB, free: 79.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007277/1.151, allocations: 0.6851 MB / 0.6992 GB, free: 79.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.177, allocations: 12.9 MB / 0.7118 GB, free: 66.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005457/1.183, allocations: 3.955 MB / 0.7156 GB, free: 62.09 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005082/1.188, allocations: 2.121 MB / 0.7177 GB, free: 59.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.19, allocations: 348.4 kB / 0.718 GB, free: 59.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/1.19, allocations: 0 / 0.718 GB, free: 59.62 MB / 474.7 MB Notification: Performance of Templates: time 0.2786/1.468, allocations: 74.24 MB / 0.7905 GB, free: 123.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.763896794058383]