Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.001284/0.001284, allocations: 112.3 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.001399/0.001399, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 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.401/1.401, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2174/0.2174, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 75.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3163, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01999/0.3363, allocations: 17.38 MB / 0.5782 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.3492, allocations: 5.537 MB / 0.5836 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/0.353, allocations: 115.6 kB / 0.5837 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008888/0.3618, allocations: 4.427 MB / 0.588 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007328/0.3692, allocations: 2.793 MB / 0.5908 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.3725, allocations: 1.455 MB / 0.5922 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.3852, allocations: 8.647 MB / 0.6006 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006559/0.3917, allocations: 4.024 MB / 0.6046 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.3971, allocations: 2.675 MB / 0.6072 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007026/0.4041, allocations: 4.148 MB / 0.6112 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00235/0.4065, allocations: 0.5352 MB / 0.6117 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/0.4111, allocations: 1.662 MB / 0.6134 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005475/0.4166, allocations: 3.42 MB / 0.6167 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007209/0.4238, allocations: 3.631 MB / 0.6202 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.4411, allocations: 11.19 MB / 0.6312 GB, free: 13.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4411, allocations: 0 / 0.6312 GB, free: 13.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4411, allocations: 0 / 0.6312 GB, free: 13.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004021/0.4415, allocations: 0 / 0.6312 GB, free: 13.07 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02284/0.4644, allocations: 8.39 MB / 0.6394 GB, free: 4.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.4644, allocations: 12.03 kB / 0.6394 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03146/0.4959, allocations: 3.717 MB / 0.643 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.5114, allocations: 5.311 MB / 0.6482 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004126/0.5118, allocations: 361.9 kB / 0.6485 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.5139, allocations: 0.5232 MB / 0.6491 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03217/0.5461, allocations: 16.25 MB / 0.6649 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/0.5463, allocations: 83.34 kB / 0.665 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006922/0.547, allocations: 239.8 kB / 0.6652 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004904/0.5519, allocations: 2.923 MB / 0.6681 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/0.5818, allocations: 13.72 MB / 0.6815 GB, free: 8.258 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3579/0.9397, allocations: 64.64 MB / 0.7446 GB, free: 114 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/0.96, allocations: 7.557 MB / 0.752 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004701/0.9647, allocations: 3.989 MB / 0.7559 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02746/0.9921, allocations: 19.47 MB / 0.7749 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.9922, allocations: 72.02 kB / 0.775 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 6.011e-06/0.9922, allocations: 0 / 0.775 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.1516/1.144, allocations: 50.13 MB / 0.8239 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.144, allocations: 277.8 kB / 0.8242 GB, free: 51.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007196/1.151, allocations: 6.055 MB / 0.8301 GB, free: 45.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009794/1.152, allocations: 81.7 kB / 0.8302 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/1.155, allocations: 4.845 MB / 0.8349 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/1.157, allocations: 1.441 MB / 0.8363 GB, free: 39.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002864/1.16, allocations: 1.924 MB / 0.8382 GB, free: 37.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/1.16, allocations: 301.1 kB / 0.8385 GB, free: 37.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/1.165, allocations: 4.231 MB / 0.8426 GB, free: 33.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/1.173, allocations: 9.463 MB / 0.8519 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.187, allocations: 14.65 MB / 0.8662 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.188, allocations: 52 kB / 0.8662 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03812/1.226, allocations: 17.53 MB / 0.8833 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.226, allocations: 87.94 kB / 0.8834 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002912/1.226, allocations: 180 kB / 0.8836 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/1.242, allocations: 4.54 MB / 0.888 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008463/1.25, allocations: 2.137 MB / 0.8901 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04077/1.291, allocations: 25.4 MB / 0.9149 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008017/1.299, allocations: 0.5268 MB / 0.9154 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/1.301, allocations: 0.5351 MB / 0.916 GB, free: 0.9336 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1136): * Single equations (assignments): 1131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007062/1.308, allocations: 3.128 MB / 0.919 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.309, allocations: 0.5898 MB / 0.9196 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02477/1.334, allocations: 10.66 MB / 0.93 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-05/1.334, allocations: 15.94 kB / 0.93 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/1.334, allocations: 4 kB / 0.93 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.336, allocations: 0.6296 MB / 0.9306 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.338, allocations: 63.27 kB / 0.9307 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003037/1.341, allocations: 223.7 kB / 0.9309 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/1.341, allocations: 286 kB / 0.9312 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02387/1.365, allocations: 10.42 MB / 0.9414 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01731/1.383, allocations: 11.53 MB / 0.9526 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004629/1.387, allocations: 3.022 MB / 0.9556 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007161/1.394, allocations: 3.765 MB / 0.9592 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/1.394, allocations: 0 / 0.9592 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01816/1.412, allocations: 7.435 MB / 0.9665 GB, free: 13.05 MB / 0.67 GB Notification: Performance of SimCode: time 0.02778/1.44, allocations: 15.43 MB / 0.9816 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of Templates: time 0.4397/1.88, allocations: 94.27 MB / 1.074 GB, free: 201.5 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.911108201835304]