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.001164/0.001164, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 79.86 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4006, allocations: 62.45 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01873/0.4194, allocations: 14.96 MB / 0.5456 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.4317, allocations: 5.013 MB / 0.5505 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.4357, allocations: 99.69 kB / 0.5506 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00774/0.4435, allocations: 4.014 MB / 0.5545 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.4505, allocations: 2.315 MB / 0.5568 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.4533, allocations: 1.162 MB / 0.5579 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4641, allocations: 6.581 MB / 0.5644 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007231/0.4713, allocations: 4.684 MB / 0.5689 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/0.4768, allocations: 2.2 MB / 0.5711 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.4813, allocations: 3.022 MB / 0.574 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.4824, allocations: 460 kB / 0.5745 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.4857, allocations: 1.529 MB / 0.576 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002906/0.4886, allocations: 2.743 MB / 0.5786 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003518/0.4921, allocations: 2.994 MB / 0.5816 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.5036, allocations: 9.394 MB / 0.5907 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5037, allocations: 0 / 0.5907 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5037, allocations: 0 / 0.5907 GB, free: 4.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002986/0.504, allocations: 4 kB / 0.5907 GB, free: 4.324 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.01601/0.52, allocations: 6.729 MB / 0.5973 GB, free: 13.51 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.5201, allocations: 12.03 kB / 0.5973 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02765/0.5478, allocations: 3.293 MB / 0.6005 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.5596, allocations: 4.129 MB / 0.6046 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.5599, allocations: 312.4 kB / 0.6049 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.5615, allocations: 423.7 kB / 0.6053 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0261/0.5876, allocations: 13.84 MB / 0.6188 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.5878, allocations: 55.44 kB / 0.6188 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/0.5884, allocations: 195.8 kB / 0.619 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003894/0.5923, allocations: 2.531 MB / 0.6215 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/0.6173, allocations: 11.82 MB / 0.633 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07111/0.6885, allocations: 53.47 MB / 0.6852 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02521/0.7137, allocations: 5.932 MB / 0.691 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009265/0.723, allocations: 3.585 MB / 0.6945 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04464/0.7677, allocations: 15.51 MB / 0.7097 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/0.7679, allocations: 60.5 kB / 0.7097 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 7.604e-06/0.7679, allocations: 4 kB / 0.7098 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3813/1.149, allocations: 28.64 MB / 0.7377 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.149, allocations: 260.3 kB / 0.738 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005611/1.155, allocations: 5.051 MB / 0.7429 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004346/1.155, allocations: 73.45 kB / 0.743 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.157, allocations: 3.88 MB / 0.7468 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/1.158, allocations: 0.9997 MB / 0.7477 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/1.159, allocations: 1.543 MB / 0.7492 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.159, allocations: 312.8 kB / 0.7495 GB, free: 149 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003371/1.163, allocations: 3.009 MB / 0.7525 GB, free: 146 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/1.168, allocations: 7.346 MB / 0.7597 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009653/1.177, allocations: 11.12 MB / 0.7705 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.177, allocations: 50.69 kB / 0.7706 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01808/1.195, allocations: 11.19 MB / 0.7815 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/1.196, allocations: 72 kB / 0.7816 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/1.196, allocations: 148 kB / 0.7817 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/1.199, allocations: 1.237 MB / 0.7829 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/1.205, allocations: 1.829 MB / 0.7847 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007598/1.213, allocations: 8.373 MB / 0.7929 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/1.218, allocations: 423.4 kB / 0.7933 GB, free: 99.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007264/1.219, allocations: 452 kB / 0.7937 GB, free: 99.37 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.003182/1.222, allocations: 2.629 MB / 0.7963 GB, free: 96.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/1.223, allocations: 462 kB / 0.7967 GB, free: 96.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007137/1.23, allocations: 5.242 MB / 0.8018 GB, free: 91.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/1.23, allocations: 31.94 kB / 0.8019 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.23, allocations: 7.984 kB / 0.8019 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/1.23, allocations: 15.97 kB / 0.8019 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.249, allocations: 11.65 MB / 0.8133 GB, free: 79.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/1.249, allocations: 7.938 kB / 0.8133 GB, free: 79.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/1.251, allocations: 0.4992 MB / 0.8138 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/1.254, allocations: 0.9887 MB / 0.8147 GB, free: 77.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003885/1.254, allocations: 43.98 kB / 0.8148 GB, free: 77.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/1.262, allocations: 7.705 MB / 0.8223 GB, free: 69.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.262, allocations: 8 kB / 0.8223 GB, free: 69.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.273, allocations: 8.742 MB / 0.8308 GB, free: 60.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.275, allocations: 0.4913 MB / 0.8313 GB, free: 60.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006506/1.275, allocations: 44 kB / 0.8314 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.277, allocations: 171.8 kB / 0.8315 GB, free: 60.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/1.278, allocations: 145.7 kB / 0.8317 GB, free: 60.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.278, allocations: 79.98 kB / 0.8317 GB, free: 60.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003946/1.282, allocations: 3.154 MB / 0.8348 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.282, allocations: 4 kB / 0.8348 GB, free: 56.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005629/1.288, allocations: 1.346 MB / 0.8361 GB, free: 55.54 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.0004833/1.288, allocations: 188.1 kB / 0.8363 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009667/1.298, allocations: 7.346 MB / 0.8435 GB, free: 48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.298, allocations: 2 kB / 0.8435 GB, free: 48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/1.301, allocations: 2.566 MB / 0.846 GB, free: 45.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.304, allocations: 0.588 MB / 0.8466 GB, free: 44.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.323, allocations: 12.75 MB / 0.859 GB, free: 32.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004079/1.327, allocations: 4.101 MB / 0.863 GB, free: 27.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005717/1.333, allocations: 2.372 MB / 0.8653 GB, free: 25.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.334, allocations: 319.4 kB / 0.8656 GB, free: 25.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.674e-06/1.334, allocations: 0 / 0.8656 GB, free: 25.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.08508/1.42, allocations: 47.81 MB / 0.9123 GB, free: 9.781 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