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.001466/0.001466, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4116, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01686/0.4285, allocations: 14.97 MB / 0.5456 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.4407, allocations: 5.009 MB / 0.5505 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.4447, allocations: 99.69 kB / 0.5506 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008261/0.453, allocations: 4.007 MB / 0.5545 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.4607, allocations: 2.322 MB / 0.5568 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.4638, allocations: 1.166 MB / 0.5579 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00986/0.4737, allocations: 6.574 MB / 0.5643 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006533/0.4803, allocations: 4.689 MB / 0.5689 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.4843, allocations: 2.216 MB / 0.5711 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.4892, allocations: 3.006 MB / 0.574 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.491, allocations: 456 kB / 0.5745 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.4952, allocations: 1.525 MB / 0.5759 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0043/0.4995, allocations: 2.692 MB / 0.5786 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005963/0.5055, allocations: 2.99 MB / 0.5815 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.5209, allocations: 9.424 MB / 0.5907 GB, free: 4.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.521, allocations: 0 / 0.5907 GB, free: 4.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.521, allocations: 11.92 kB / 0.5907 GB, free: 4.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004075/0.5214, allocations: 0 / 0.5907 GB, free: 4.352 MB / 446.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.02112/0.5425, allocations: 6.907 MB / 0.5975 GB, free: 13.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5426, allocations: 8.031 kB / 0.5975 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02633/0.5689, allocations: 3.332 MB / 0.6007 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.5797, allocations: 4.15 MB / 0.6048 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/0.5802, allocations: 312.3 kB / 0.6051 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002772/0.583, allocations: 427.7 kB / 0.6055 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03804/0.6211, allocations: 13.82 MB / 0.619 GB, free: 6.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003757/0.6215, allocations: 63.5 kB / 0.619 GB, free: 6.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002152/0.6237, allocations: 195.8 kB / 0.6192 GB, free: 6.121 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006254/0.63, allocations: 2.527 MB / 0.6217 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03741/0.6674, allocations: 11.82 MB / 0.6332 GB, free: 7.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08972/0.7572, allocations: 53.55 MB / 0.6855 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7747, allocations: 5.935 MB / 0.6913 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006075/0.7808, allocations: 3.593 MB / 0.6948 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02979/0.8107, allocations: 15.54 MB / 0.71 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.024e-05/0.8108, allocations: 60.56 kB / 0.7101 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 6.653e-06/0.8108, allocations: 0 / 0.7101 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.4076/1.218, allocations: 28.94 MB / 0.7383 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.219, allocations: 264.2 kB / 0.7386 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.229, allocations: 5.072 MB / 0.7435 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008367/1.23, allocations: 61.7 kB / 0.7436 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004619/1.235, allocations: 4.03 MB / 0.7475 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002512/1.237, allocations: 1.048 MB / 0.7485 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005069/1.242, allocations: 1.564 MB / 0.7501 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/1.242, allocations: 309 kB / 0.7504 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007465/1.25, allocations: 3.013 MB / 0.7533 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.26, allocations: 7.353 MB / 0.7605 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.274, allocations: 11.11 MB / 0.7713 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001971/1.275, allocations: 44 kB / 0.7714 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02147/1.296, allocations: 11.22 MB / 0.7823 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.296, allocations: 72.03 kB / 0.7824 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002747/1.297, allocations: 155.9 kB / 0.7826 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/1.3, allocations: 1.231 MB / 0.7838 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/1.306, allocations: 1.833 MB / 0.7856 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008173/1.314, allocations: 8.358 MB / 0.7937 GB, free: 99.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006913/1.321, allocations: 439.5 kB / 0.7941 GB, free: 99.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.322, allocations: 456 kB / 0.7946 GB, free: 99.07 MB / 0.5606 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.005194/1.328, allocations: 2.625 MB / 0.7971 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.329, allocations: 484.8 kB / 0.7976 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008695/1.338, allocations: 5.238 MB / 0.8027 GB, free: 90.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/1.338, allocations: 35.11 kB / 0.8027 GB, free: 90.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/1.338, allocations: 8 kB / 0.8027 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/1.338, allocations: 11.95 kB / 0.8028 GB, free: 90.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.361, allocations: 11.65 MB / 0.8141 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/1.361, allocations: 7.938 kB / 0.8141 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.364, allocations: 0.4915 MB / 0.8146 GB, free: 78.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.366, allocations: 0.9848 MB / 0.8156 GB, free: 77.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003933/1.367, allocations: 47.98 kB / 0.8156 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006945/1.374, allocations: 7.704 MB / 0.8232 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.374, allocations: 3.938 kB / 0.8232 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.385, allocations: 8.77 MB / 0.8317 GB, free: 60.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.387, allocations: 0.5173 MB / 0.8322 GB, free: 60.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.388, allocations: 40 kB / 0.8323 GB, free: 60.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.391, allocations: 171.8 kB / 0.8324 GB, free: 59.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/1.392, allocations: 157.7 kB / 0.8326 GB, free: 59.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.392, allocations: 75.5 kB / 0.8327 GB, free: 59.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0058/1.398, allocations: 3.154 MB / 0.8357 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.398, allocations: 0 / 0.8357 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007888/1.406, allocations: 1.352 MB / 0.8371 GB, free: 55.16 MB / 0.5606 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.0009181/1.407, allocations: 190.2 kB / 0.8372 GB, free: 54.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.418, allocations: 7.348 MB / 0.8444 GB, free: 47.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.418, allocations: 4.062 kB / 0.8444 GB, free: 47.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003579/1.421, allocations: 2.566 MB / 0.8469 GB, free: 45.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006316/1.428, allocations: 0.5912 MB / 0.8475 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/1.447, allocations: 12.93 MB / 0.8601 GB, free: 31.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/1.451, allocations: 4.101 MB / 0.8641 GB, free: 27.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004796/1.456, allocations: 2.37 MB / 0.8664 GB, free: 24.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009746/1.457, allocations: 319.4 kB / 0.8668 GB, free: 24.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/1.457, allocations: 0 / 0.8668 GB, free: 24.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.08267/1.539, allocations: 47.77 MB / 0.9134 GB, free: 9.172 MB / 0.5919 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