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.001566/0.001566, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.744/2.744, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.605/0.605, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003177/0.003178, allocations: 82.58 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2415, allocations: 62.44 MB / 480.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.5532/0.7947, allocations: 63.49 MB / 0.5309 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05736/0.8521, allocations: 12.81 MB / 0.5434 GB, free: 316 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02484/0.8771, allocations: 284.2 kB / 0.5437 GB, free: 268 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01494/0.8921, allocations: 3.865 MB / 0.5475 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02085/0.913, allocations: 2.16 MB / 0.5496 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009791/0.9229, allocations: 1.091 MB / 0.5506 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02636/0.9493, allocations: 6.982 MB / 0.5575 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.9627, allocations: 4.93 MB / 0.5623 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007602/0.9703, allocations: 2.274 MB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00944/0.9798, allocations: 3.342 MB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002815/0.9827, allocations: 456 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006435/0.9892, allocations: 1.541 MB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006533/0.9958, allocations: 2.731 MB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009446/1.005, allocations: 3.022 MB / 0.5753 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/1.022, allocations: 7.403 MB / 0.5825 GB, free: 14.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/1.022, allocations: 0 / 0.5825 GB, free: 14.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.095e-06/1.022, allocations: 4 kB / 0.5825 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004207/1.022, allocations: 0 / 0.5825 GB, free: 14.34 MB / 430.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.0523/1.075, allocations: 6.745 MB / 0.5891 GB, free: 7.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.463e-05/1.075, allocations: 8.031 kB / 0.5891 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07377/1.149, allocations: 3.297 MB / 0.5924 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/1.168, allocations: 4.039 MB / 0.5963 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005726/1.169, allocations: 312.5 kB / 0.5966 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003213/1.172, allocations: 431.5 kB / 0.597 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05531/1.227, allocations: 13.82 MB / 0.6105 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004468/1.228, allocations: 63.42 kB / 0.6106 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002445/1.23, allocations: 195.8 kB / 0.6108 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009496/1.24, allocations: 2.527 MB / 0.6132 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0508/1.291, allocations: 11.82 MB / 0.6248 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/1.425, allocations: 53.72 MB / 0.6772 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03381/1.459, allocations: 5.924 MB / 0.683 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01048/1.47, allocations: 3.598 MB / 0.6865 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05315/1.523, allocations: 15.52 MB / 0.7017 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/1.523, allocations: 60.5 kB / 0.7017 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 1.171e-05/1.523, allocations: 0 / 0.7017 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.7252/2.248, allocations: 28.62 MB / 0.7297 GB, free: 193.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/2.249, allocations: 266.1 kB / 0.7299 GB, free: 193.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02853/2.277, allocations: 5.048 MB / 0.7349 GB, free: 191.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.005143/2.282, allocations: 67.81 kB / 0.7349 GB, free: 191.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006353/2.289, allocations: 3.884 MB / 0.7387 GB, free: 188.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.006876/2.296, allocations: 1.004 MB / 0.7397 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005206/2.301, allocations: 1.541 MB / 0.7412 GB, free: 187.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/2.301, allocations: 310.2 kB / 0.7415 GB, free: 186.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01868/2.32, allocations: 3.016 MB / 0.7445 GB, free: 185.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/2.338, allocations: 7.348 MB / 0.7516 GB, free: 179.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02657/2.365, allocations: 11.12 MB / 0.7625 GB, free: 170.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004443/2.365, allocations: 46.41 kB / 0.7625 GB, free: 170.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.04795/2.413, allocations: 11.2 MB / 0.7735 GB, free: 162.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/2.413, allocations: 78.59 kB / 0.7735 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/2.414, allocations: 148 kB / 0.7737 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/2.425, allocations: 1.232 MB / 0.7749 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02233/2.447, allocations: 1.833 MB / 0.7767 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/2.468, allocations: 8.371 MB / 0.7848 GB, free: 151 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/2.481, allocations: 431.3 kB / 0.7853 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006851/2.488, allocations: 456 kB / 0.7857 GB, free: 150.1 MB / 0.545 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 (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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01397/2.502, allocations: 2.627 MB / 0.7883 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002985/2.505, allocations: 462.1 kB / 0.7887 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/2.537, allocations: 5.237 MB / 0.7938 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.989e-05/2.537, allocations: 29.88 kB / 0.7938 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-05/2.537, allocations: 4 kB / 0.7938 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/2.537, allocations: 15.95 kB / 0.7939 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0488/2.586, allocations: 11.75 MB / 0.8053 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/2.586, allocations: 0 / 0.8053 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006058/2.592, allocations: 0.5031 MB / 0.8058 GB, free: 129.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00702/2.6, allocations: 0.9887 MB / 0.8068 GB, free: 128.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/2.601, allocations: 47.98 kB / 0.8068 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/2.616, allocations: 7.702 MB / 0.8144 GB, free: 120.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/2.616, allocations: 4.062 kB / 0.8144 GB, free: 120.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02259/2.639, allocations: 8.73 MB / 0.8229 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/2.642, allocations: 0.4951 MB / 0.8234 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003542/2.646, allocations: 47.94 kB / 0.8234 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006547/2.652, allocations: 179.5 kB / 0.8236 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001488/2.654, allocations: 145.8 kB / 0.8237 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007638/2.655, allocations: 72.12 kB / 0.8238 GB, free: 110.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01162/2.666, allocations: 3.161 MB / 0.8269 GB, free: 107.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.232e-06/2.666, allocations: 0.8438 kB / 0.8269 GB, free: 107.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.02089/2.687, allocations: 1.345 MB / 0.8282 GB, free: 106.2 MB / 0.545 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 (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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001919/2.689, allocations: 197.3 kB / 0.8284 GB, free: 106 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04829/2.737, allocations: 10.13 MB / 0.8383 GB, free: 95.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/2.738, allocations: 0 / 0.8383 GB, free: 95.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/2.75, allocations: 2.566 MB / 0.8408 GB, free: 93.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008949/2.767, allocations: 0.592 MB / 0.8414 GB, free: 92.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0976/2.864, allocations: 16.02 MB / 0.857 GB, free: 76.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02716/2.892, allocations: 4.074 MB / 0.861 GB, free: 72.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003279/2.895, allocations: 379.4 kB / 0.8613 GB, free: 72.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.415e-06/2.895, allocations: 0 / 0.8613 GB, free: 72.25 MB / 0.545 GB Notification: Performance of Templates: time 0.771/3.666, allocations: 124.3 MB / 0.9827 GB, free: 129.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches