Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.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.001571/0.001571, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.00204/0.00204, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.544/1.544, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 53.32 MB / 427.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2114/0.3231, allocations: 17.3 MB / 444.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.337, allocations: 5.515 MB / 450 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004446/0.3415, allocations: 121.9 kB / 450.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009447/0.3509, allocations: 4.405 MB / 454.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008274/0.3592, allocations: 2.798 MB / 457.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.3628, allocations: 1.462 MB / 458.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.3762, allocations: 8.654 MB / 467.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006881/0.3831, allocations: 4.584 MB / 472 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/0.3888, allocations: 2.667 MB / 474.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007531/0.3964, allocations: 4.154 MB / 478.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002276/0.3986, allocations: 0.5352 MB / 479.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00511/0.4037, allocations: 1.666 MB / 481 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005226/0.409, allocations: 3.42 MB / 484.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006684/0.4157, allocations: 3.627 MB / 488.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.4311, allocations: 11.18 MB / 499.3 MB, free: 8.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4311, allocations: 4 kB / 499.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4311, allocations: 0 / 499.3 MB, free: 8.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003229/0.4314, allocations: 0 / 499.3 MB, free: 8.512 MB / 398.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.01986/0.4512, allocations: 8.402 MB / 0.4958 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4513, allocations: 12.03 kB / 0.4958 GB, free: 0 / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02923/0.4805, allocations: 3.708 MB / 0.4994 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.4947, allocations: 5.313 MB / 0.5046 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/0.495, allocations: 369.5 kB / 0.5049 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/0.4969, allocations: 0.5152 MB / 0.5054 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/0.5293, allocations: 16.25 MB / 0.5213 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/0.5295, allocations: 87.34 kB / 0.5214 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008848/0.5304, allocations: 241.8 kB / 0.5216 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005053/0.5355, allocations: 2.919 MB / 0.5245 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/0.5663, allocations: 13.72 MB / 0.5379 GB, free: 3.711 MB / 446.1 MB 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.0858/0.6521, allocations: 64.65 MB / 0.601 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/0.6757, allocations: 7.554 MB / 0.6084 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006481/0.6822, allocations: 3.979 MB / 0.6123 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2552/0.9374, allocations: 19.47 MB / 0.6313 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.9375, allocations: 62.05 kB / 0.6313 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=290): time 5.41e-06/0.9375, allocations: 0 / 0.6313 GB, free: 155.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=372): time 0.1551/1.093, allocations: 50.14 MB / 0.6803 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.093, allocations: 269.8 kB / 0.6806 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006191/1.099, allocations: 6.058 MB / 0.6865 GB, free: 121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006386/1.099, allocations: 85.53 kB / 0.6866 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001903/1.101, allocations: 4.843 MB / 0.6913 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.103, allocations: 1.438 MB / 0.6927 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/1.105, allocations: 1.925 MB / 0.6946 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.507e-05/1.105, allocations: 305.1 kB / 0.6949 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004798/1.109, allocations: 4.228 MB / 0.699 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006405/1.116, allocations: 9.467 MB / 0.7083 GB, free: 96.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/1.13, allocations: 14.65 MB / 0.7226 GB, free: 79.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/1.13, allocations: 52 kB / 0.7226 GB, free: 79.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03114/1.161, allocations: 17.52 MB / 0.7397 GB, free: 61.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/1.161, allocations: 80 kB / 0.7398 GB, free: 61.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/1.161, allocations: 188.2 kB / 0.74 GB, free: 61.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/1.174, allocations: 4.544 MB / 0.7444 GB, free: 56.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006772/1.181, allocations: 2.126 MB / 0.7465 GB, free: 54.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02936/1.21, allocations: 25.41 MB / 0.7713 GB, free: 29.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008087/1.218, allocations: 0.5229 MB / 0.7718 GB, free: 28.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.219, allocations: 0.5429 MB / 0.7723 GB, free: 28.05 MB / 0.5137 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.004329/1.224, allocations: 3.11 MB / 0.7754 GB, free: 24.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009811/1.225, allocations: 0.6015 MB / 0.776 GB, free: 24.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01964/1.244, allocations: 10.66 MB / 0.7864 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-05/1.244, allocations: 40 kB / 0.7864 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/1.244, allocations: 16 kB / 0.7864 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/1.244, allocations: 19.94 kB / 0.7864 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03857/1.283, allocations: 20.32 MB / 0.8063 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-05/1.283, allocations: 0 / 0.8063 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/1.286, allocations: 0.5421 MB / 0.8068 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01451/1.301, allocations: 4.184 MB / 0.8109 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009274/1.302, allocations: 63.98 kB / 0.811 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2516/1.553, allocations: 23.12 MB / 0.8335 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.553, allocations: 2.312 kB / 0.8335 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02665/1.58, allocations: 15.63 MB / 0.8488 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.581, allocations: 0.6156 MB / 0.8494 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009472/1.582, allocations: 63.66 kB / 0.8495 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/1.585, allocations: 222.9 kB / 0.8497 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008728/1.586, allocations: 223.1 kB / 0.8499 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.586, allocations: 93.8 kB / 0.85 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004672/1.591, allocations: 3.775 MB / 0.8537 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/1.591, allocations: 0 / 0.8537 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007055/1.598, allocations: 1.901 MB / 0.8555 GB, free: 144.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006299/1.599, allocations: 215.7 kB / 0.8557 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.612, allocations: 10.07 MB / 0.8656 GB, free: 141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.612, allocations: 0 / 0.8656 GB, free: 141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/1.617, allocations: 3.807 MB / 0.8693 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.622, allocations: 0.774 MB / 0.87 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/1.643, allocations: 16.47 MB / 0.8861 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004739/1.648, allocations: 4.862 MB / 0.8909 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005457/1.653, allocations: 2.785 MB / 0.8936 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.654, allocations: 375.4 kB / 0.894 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/1.654, allocations: 0 / 0.894 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.114/1.768, allocations: 80.99 MB / 0.973 GB, free: 35.06 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.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.588066756725311]