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.0009827/0.0009827, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001459/0.001459, allocations: 156.5 kB / 24.56 MB, free: 8 kB / 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 1.031/1.031, allocations: 177 MB / 204.8 MB, free: 5.57 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.3066/0.3066, allocations: 34.86 MB / 296.3 MB, free: 0.5234 MB / 266.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.714e-06/1.714e-06, allocations: 0 / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.071e-05, allocations: 2.875 kB / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.0122/0.01223, allocations: 15.42 MB / 394.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.02317, allocations: 5.382 MB / 399.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.02698, allocations: 131.3 kB / 399.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007737/0.03472, allocations: 5.51 MB / 405.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.0421, allocations: 2.768 MB / 408 MB, free: 4.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.04542, allocations: 1.571 MB / 409.5 MB, free: 3.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.05693, allocations: 9.357 MB / 418.9 MB, free: 9.816 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009638/0.06657, allocations: 6.154 MB / 425 MB, free: 3.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.0767, allocations: 5.763 MB / 430.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005954/0.08266, allocations: 4.217 MB / 435 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002258/0.08491, allocations: 0.6445 MB / 435.7 MB, free: 8.926 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.08849, allocations: 1.744 MB / 437.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004689/0.09318, allocations: 3.597 MB / 441 MB, free: 3.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005271/0.09845, allocations: 2.263 MB / 443.3 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2155/0.314, allocations: 7.555 MB / 450.8 MB, free: 64.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.314, allocations: 1.969 kB / 450.8 MB, free: 64.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.314, allocations: 0 / 450.8 MB, free: 64.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000587/0.3146, allocations: 3.234 kB / 450.8 MB, free: 64.88 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.01593/0.3305, allocations: 8.615 MB / 459.4 MB, free: 61.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3306, allocations: 12.31 kB / 459.5 MB, free: 61.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008375/0.3389, allocations: 3.626 MB / 463.1 MB, free: 61.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008146/0.3471, allocations: 4.185 MB / 467.3 MB, free: 60.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.3473, allocations: 382.4 kB / 467.6 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.3489, allocations: 0.51 MB / 468.2 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.3687, allocations: 9.477 MB / 477.6 MB, free: 56.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/0.3691, allocations: 64.89 kB / 477.7 MB, free: 56.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009227/0.37, allocations: 234.5 kB / 477.9 MB, free: 56.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/0.3728, allocations: 2.5 MB / 480.4 MB, free: 55.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.3892, allocations: 5.202 MB / 485.6 MB, free: 55.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/0.4442, allocations: 59.73 MB / 0.5326 GB, free: 24.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008378/0.4526, allocations: 3.623 MB / 0.5361 GB, free: 23.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.4544, allocations: 0.9391 MB / 0.537 GB, free: 23.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.4657, allocations: 7.707 MB / 0.5446 GB, free: 16.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.4657, allocations: 57.17 kB / 0.5446 GB, free: 15.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 4.629e-06/0.4657, allocations: 0 / 0.5446 GB, free: 15.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.04658/0.5123, allocations: 21.28 MB / 0.5654 GB, free: 10.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5124, allocations: 239.7 kB / 0.5656 GB, free: 10.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006885/0.5193, allocations: 4.953 MB / 0.5705 GB, free: 5.609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006271/0.5199, allocations: 81.17 kB / 0.5705 GB, free: 5.527 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.5228, allocations: 4.77 MB / 0.5752 GB, free: 0.793 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.5241, allocations: 1.235 MB / 0.5764 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.5262, allocations: 1.8 MB / 0.5782 GB, free: 13.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5263, allocations: 480.8 kB / 0.5786 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.5281, allocations: 1.071 MB / 0.5797 GB, free: 12.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/0.5329, allocations: 8.014 MB / 0.5875 GB, free: 1.102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009214/0.5421, allocations: 9.964 MB / 0.5972 GB, free: 4.363 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/0.5423, allocations: 48 kB / 0.5973 GB, free: 4.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01593/0.5582, allocations: 8.47 MB / 0.6055 GB, free: 11.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.5583, allocations: 84.19 kB / 0.6056 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/0.5585, allocations: 160 kB / 0.6058 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/0.5634, allocations: 1.84 MB / 0.6076 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.5677, allocations: 1.887 MB / 0.6094 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00833/0.576, allocations: 6.044 MB / 0.6153 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/0.5809, allocations: 0.5462 MB / 0.6158 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/0.5822, allocations: 488.7 kB / 0.6163 GB, free: 0.6602 MB / 490.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.1828/0.765, allocations: 0.8238 MB / 0.6171 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/0.7664, allocations: 0.5856 MB / 0.6177 GB, free: 148.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/0.7728, allocations: 3.469 MB / 0.6211 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.7729, allocations: 31.59 kB / 0.6211 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.7729, allocations: 8.719 kB / 0.6211 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.7729, allocations: 17.16 kB / 0.6211 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.79, allocations: 10.47 MB / 0.6314 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/0.79, allocations: 14.66 kB / 0.6314 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.7911, allocations: 498.7 kB / 0.6318 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003864/0.795, allocations: 1.609 MB / 0.6334 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.7953, allocations: 69.59 kB / 0.6335 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005941/0.8012, allocations: 4.796 MB / 0.6382 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.8012, allocations: 21.81 kB / 0.6382 GB, free: 144.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/0.81, allocations: 5.314 MB / 0.6434 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/0.8115, allocations: 0.5226 MB / 0.6439 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007254/0.8123, allocations: 66 kB / 0.6439 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.8139, allocations: 254.2 kB / 0.6442 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/0.8144, allocations: 236 kB / 0.6444 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/0.8146, allocations: 97.94 kB / 0.6445 GB, free: 143.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004195/0.8188, allocations: 2.212 MB / 0.6467 GB, free: 142.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8188, allocations: 2 kB / 0.6467 GB, free: 142.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006724/0.8255, allocations: 1.746 MB / 0.6484 GB, free: 142.4 MB / 490.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.0008064/0.8263, allocations: 275.4 kB / 0.6486 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007763/0.8341, allocations: 4.578 MB / 0.6531 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.8341, allocations: 7.531 kB / 0.6531 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.8364, allocations: 1.425 MB / 0.6545 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/0.841, allocations: 0.677 MB / 0.6552 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.8612, allocations: 12.27 MB / 0.6671 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.8635, allocations: 1.976 MB / 0.6691 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004363/0.8679, allocations: 2.104 MB / 0.6711 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009742/0.8689, allocations: 336 kB / 0.6715 GB, free: 131.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.923e-06/0.8689, allocations: 0 / 0.6715 GB, free: 131.7 MB / 490.7 MB Notification: Performance of Templates: time 0.07647/0.9453, allocations: 59.48 MB / 0.7295 GB, free: 75.7 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.391938092187047]