Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 97.53 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 203 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 63.57 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3634/0.5219, allocations: 57.54 MB / 0.5273 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03234/0.5542, allocations: 12.26 MB / 0.5393 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01488/0.5692, allocations: 283.5 kB / 0.5395 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.5799, allocations: 2.968 MB / 0.5424 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02761/0.6075, allocations: 8.716 MB / 0.551 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.6128, allocations: 1.014 MB / 0.5519 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08543/0.6982, allocations: 62.54 MB / 0.613 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.7095, allocations: 5.547 MB / 0.6184 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006842/0.7164, allocations: 1.822 MB / 0.6202 GB, free: 9.805 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007971/0.7244, allocations: 2.831 MB / 0.623 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00197/0.7264, allocations: 200 kB / 0.6232 GB, free: 6.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.7309, allocations: 1.147 MB / 0.6243 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005313/0.7363, allocations: 2.373 MB / 0.6266 GB, free: 3.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003078/0.7394, allocations: 1.084 MB / 0.6277 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.7505, allocations: 7.167 MB / 0.6347 GB, free: 10.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.7506, allocations: 0 / 0.6347 GB, free: 10.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.7506, allocations: 0 / 0.6347 GB, free: 10.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004392/0.7511, allocations: 0 / 0.6347 GB, free: 10.96 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01799/0.7691, allocations: 5.646 MB / 0.6402 GB, free: 5.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7691, allocations: 8.031 kB / 0.6402 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02304/0.7922, allocations: 3.378 MB / 0.6435 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.8033, allocations: 3.969 MB / 0.6474 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.8037, allocations: 307.9 kB / 0.6477 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.8057, allocations: 427.7 kB / 0.6481 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03593/0.8416, allocations: 13.83 MB / 0.6616 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004009/0.8421, allocations: 59.52 kB / 0.6616 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/0.8444, allocations: 195.8 kB / 0.6618 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004811/0.8493, allocations: 2.527 MB / 0.6643 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03004/0.8793, allocations: 11.79 MB / 0.6758 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4127/1.292, allocations: 53.73 MB / 0.7283 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/1.309, allocations: 5.936 MB / 0.7341 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005086/1.314, allocations: 3.584 MB / 0.7376 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02364/1.338, allocations: 15.53 MB / 0.7527 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/1.338, allocations: 59.41 kB / 0.7528 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.75e-06/1.338, allocations: 3.969 kB / 0.7528 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.08267/1.42, allocations: 28.69 MB / 0.7808 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/1.421, allocations: 268.9 kB / 0.7811 GB, free: 119 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006407/1.427, allocations: 5.027 MB / 0.786 GB, free: 114 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006366/1.428, allocations: 61.7 kB / 0.786 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002256/1.43, allocations: 3.879 MB / 0.7898 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009227/1.431, allocations: 1.008 MB / 0.7908 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.431, allocations: 156.5 kB / 0.791 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.431, allocations: 0.6324 MB / 0.7916 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/1.435, allocations: 2.986 MB / 0.7945 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005156/1.44, allocations: 7.319 MB / 0.8016 GB, free: 95.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005187/1.445, allocations: 4.535 MB / 0.8061 GB, free: 91.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-05/1.445, allocations: 40 kB / 0.8061 GB, free: 91.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01562/1.461, allocations: 11.14 MB / 0.817 GB, free: 80.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.429e-05/1.461, allocations: 69 kB / 0.8171 GB, free: 80.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/1.461, allocations: 152 kB / 0.8172 GB, free: 80.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/1.464, allocations: 1.241 MB / 0.8184 GB, free: 78.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.47, allocations: 1.833 MB / 0.8202 GB, free: 77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007754/1.478, allocations: 7.775 MB / 0.8278 GB, free: 68.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/1.484, allocations: 433.9 kB / 0.8282 GB, free: 68.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.485, allocations: 448.5 kB / 0.8286 GB, free: 68.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (954): * Single equations (assignments): 949 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005286/1.49, allocations: 2.644 MB / 0.8312 GB, free: 65.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.491, allocations: 462 kB / 0.8317 GB, free: 65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008564/1.5, allocations: 5.223 MB / 0.8368 GB, free: 59.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/1.5, allocations: 28 kB / 0.8368 GB, free: 59.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/1.5, allocations: 8 kB / 0.8368 GB, free: 59.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/1.5, allocations: 15.91 kB / 0.8368 GB, free: 59.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.522, allocations: 11.75 MB / 0.8483 GB, free: 47.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/1.523, allocations: 0 / 0.8483 GB, free: 47.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.525, allocations: 0.5031 MB / 0.8488 GB, free: 47.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/1.527, allocations: 0.9825 MB / 0.8497 GB, free: 46.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004591/1.528, allocations: 52.05 kB / 0.8498 GB, free: 46.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006925/1.535, allocations: 7.112 MB / 0.8567 GB, free: 39.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.535, allocations: 0 / 0.8567 GB, free: 39.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.547, allocations: 8.719 MB / 0.8652 GB, free: 30.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.548, allocations: 0.4991 MB / 0.8657 GB, free: 29.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.549, allocations: 40.58 kB / 0.8658 GB, free: 29.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.552, allocations: 192.4 kB / 0.8659 GB, free: 29.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/1.552, allocations: 145.8 kB / 0.8661 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.553, allocations: 73.31 kB / 0.8662 GB, free: 29.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00513/1.558, allocations: 3.126 MB / 0.8692 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.558, allocations: 0 / 0.8692 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00724/1.565, allocations: 1.351 MB / 0.8705 GB, free: 24.83 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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000837/1.566, allocations: 194.8 kB / 0.8707 GB, free: 24.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.577, allocations: 7.27 MB / 0.8778 GB, free: 17.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.577, allocations: 4 kB / 0.8778 GB, free: 17.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.58, allocations: 2.559 MB / 0.8803 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/1.585, allocations: 0.5645 MB / 0.8809 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/1.612, allocations: 15 MB / 0.8955 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01232/1.625, allocations: 4.104 MB / 0.8995 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01264/1.637, allocations: 2.364 MB / 0.9018 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/1.64, allocations: 323.4 kB / 0.9021 GB, free: 8.379 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.64, allocations: 0 / 0.9021 GB, free: 8.379 MB / 0.545 GB Notification: Performance of Templates: time 0.4328/2.073, allocations: 48.17 MB / 0.9492 GB, free: 167.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches