Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 84.34 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002011, allocations: 167.2 kB / 25.61 MB, free: 8.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9876/0.9876, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1474/0.1474, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.779e-05, allocations: 4.281 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0116/0.01164, allocations: 15.03 MB / 395 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.02397, allocations: 5.329 MB / 400.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.02794, allocations: 131.3 kB / 400.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009032/0.03698, allocations: 5.424 MB / 405.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008714/0.04569, allocations: 2.772 MB / 408.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.04958, allocations: 1.571 MB / 410.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.06324, allocations: 9.371 MB / 419.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.07351, allocations: 6.154 MB / 425.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0145/0.08802, allocations: 5.794 MB / 431.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.09873, allocations: 4.229 MB / 435.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004352/0.1031, allocations: 0.6445 MB / 436.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008061/0.1111, allocations: 1.732 MB / 438.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005947/0.1171, allocations: 3.6 MB / 441.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00638/0.1235, allocations: 2.252 MB / 444 MB, free: 6.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.1356, allocations: 7.569 MB / 451.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.1356, allocations: 0 / 451.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1356, allocations: 0 / 451.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003968/0.136, allocations: 4 kB / 451.6 MB, free: 14.88 MB / 378.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.01678/0.1528, allocations: 8.113 MB / 459.7 MB, free: 6.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1528, allocations: 12.03 kB / 459.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009169/0.162, allocations: 2.708 MB / 462.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/0.1696, allocations: 3.728 MB / 466.2 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.1699, allocations: 378.3 kB / 466.5 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.1716, allocations: 0.5158 MB / 467 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.1917, allocations: 8.236 MB / 475.3 MB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/0.1919, allocations: 63.45 kB / 475.3 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008091/0.1927, allocations: 235.8 kB / 475.6 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/0.195, allocations: 2.31 MB / 477.9 MB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.2066, allocations: 3.818 MB / 481.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2781/0.4847, allocations: 58.8 MB / 0.5278 GB, free: 61.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007162/0.4919, allocations: 2.889 MB / 0.5306 GB, free: 60.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.4933, allocations: 0.8012 MB / 0.5314 GB, free: 60.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/0.5038, allocations: 7.11 MB / 0.5384 GB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.5038, allocations: 66.77 kB / 0.5384 GB, free: 58.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 5.169e-06/0.5038, allocations: 0 / 0.5384 GB, free: 58.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03927/0.5431, allocations: 14.24 MB / 0.5523 GB, free: 45.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.5432, allocations: 243.3 kB / 0.5526 GB, free: 44.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004718/0.5479, allocations: 4.9 MB / 0.5574 GB, free: 40.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004899/0.5484, allocations: 69.7 kB / 0.5574 GB, free: 40.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5503, allocations: 4.814 MB / 0.5621 GB, free: 35.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.5514, allocations: 1.24 MB / 0.5633 GB, free: 34.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/0.5528, allocations: 1.838 MB / 0.5651 GB, free: 32.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.5529, allocations: 476.8 kB / 0.5656 GB, free: 32.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.5543, allocations: 0.9457 MB / 0.5665 GB, free: 31.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.5577, allocations: 7.949 MB / 0.5743 GB, free: 20.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/0.5637, allocations: 9.633 MB / 0.5837 GB, free: 7.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.5638, allocations: 48 kB / 0.5837 GB, free: 7.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01407/0.5779, allocations: 7.443 MB / 0.591 GB, free: 420 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/0.578, allocations: 79.94 kB / 0.5911 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.5781, allocations: 160.1 kB / 0.5912 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/0.5836, allocations: 1.473 MB / 0.5927 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00544/0.589, allocations: 1.825 MB / 0.5944 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009571/0.5986, allocations: 5.459 MB / 0.5998 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/0.6048, allocations: 355.7 kB / 0.6001 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.6059, allocations: 412 kB / 0.6005 GB, free: 6.551 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.002757/0.6087, allocations: 0.8208 MB / 0.6013 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/0.6101, allocations: 0.5865 MB / 0.6019 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/0.6166, allocations: 2.788 MB / 0.6046 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/0.6166, allocations: 35.98 kB / 0.6046 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.6166, allocations: 8 kB / 0.6046 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.6166, allocations: 15.95 kB / 0.6047 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/0.6359, allocations: 9.562 MB / 0.614 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.6359, allocations: 16.16 kB / 0.614 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.637, allocations: 435.3 kB / 0.6144 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003722/0.6408, allocations: 1.225 MB / 0.6156 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.641, allocations: 71.97 kB / 0.6157 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.6469, allocations: 4.266 MB / 0.6199 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.6469, allocations: 23.88 kB / 0.6199 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/0.6544, allocations: 4.462 MB / 0.6242 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/0.6563, allocations: 0.5121 MB / 0.6247 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007813/0.657, allocations: 63.98 kB / 0.6248 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.6585, allocations: 71.98 kB / 0.6249 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/0.6589, allocations: 237.2 kB / 0.6251 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.659, allocations: 72 kB / 0.6252 GB, free: 12.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002517/0.6615, allocations: 2.05 MB / 0.6272 GB, free: 10.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6615, allocations: 0 / 0.6272 GB, free: 10.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006435/0.668, allocations: 1.742 MB / 0.6289 GB, free: 8.664 MB / 458.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.0006339/0.6686, allocations: 282.4 kB / 0.6291 GB, free: 8.379 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005777/0.6744, allocations: 4.224 MB / 0.6333 GB, free: 4.141 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.6744, allocations: 5.875 kB / 0.6333 GB, free: 4.137 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.6764, allocations: 1.32 MB / 0.6346 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.6799, allocations: 0.6827 MB / 0.6352 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.6986, allocations: 12.18 MB / 0.6471 GB, free: 5.621 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.7013, allocations: 1.983 MB / 0.6491 GB, free: 3.609 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002399/0.7037, allocations: 0.7131 MB / 0.6498 GB, free: 2.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.7051, allocations: 0.8573 MB / 0.6506 GB, free: 2.031 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/0.7051, allocations: 0 / 0.6506 GB, free: 2.031 MB / 474.7 MB Notification: Performance of Templates: time 0.2303/0.9354, allocations: 63.56 MB / 0.7127 GB, free: 139.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.828439095057547]