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.001109/0.001109, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 82.52 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0156/0.1287, allocations: 14.95 MB / 496.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.139, allocations: 5.011 MB / 0.4897 GB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.1415, allocations: 99.75 kB / 0.4898 GB, free: 400 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007973/0.1496, allocations: 4.018 MB / 0.4937 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006541/0.1561, allocations: 2.323 MB / 0.496 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.1589, allocations: 1.154 MB / 0.4971 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009438/0.1684, allocations: 6.585 MB / 0.5035 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1958/0.3642, allocations: 4.681 MB / 0.5081 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.3678, allocations: 2.215 MB / 0.5103 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004755/0.3725, allocations: 3.008 MB / 0.5132 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.3741, allocations: 458.1 kB / 0.5136 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.3776, allocations: 1.53 MB / 0.5151 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003095/0.3807, allocations: 2.681 MB / 0.5177 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.384, allocations: 2.995 MB / 0.5207 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.3941, allocations: 9.39 MB / 0.5298 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3941, allocations: 1.375 kB / 0.5298 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3941, allocations: 0 / 0.5298 GB, free: 9.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002742/0.3944, allocations: 0 / 0.5298 GB, free: 9.488 MB / 382.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.01377/0.4082, allocations: 6.729 MB / 0.5364 GB, free: 5.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4082, allocations: 9.062 kB / 0.5364 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02297/0.4312, allocations: 3.293 MB / 0.5396 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009354/0.4406, allocations: 4.132 MB / 0.5437 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.4408, allocations: 312 kB / 0.544 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009103/0.4417, allocations: 433.9 kB / 0.5444 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/0.4661, allocations: 13.83 MB / 0.5579 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.4663, allocations: 58.34 kB / 0.5579 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/0.4668, allocations: 201 kB / 0.5581 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003857/0.4707, allocations: 2.523 MB / 0.5606 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/0.4938, allocations: 11.82 MB / 0.5721 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06629/0.5601, allocations: 53.46 MB / 0.6243 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/0.5761, allocations: 5.937 MB / 0.6301 GB, free: 8.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004838/0.581, allocations: 3.589 MB / 0.6336 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02401/0.605, allocations: 15.52 MB / 0.6488 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.6051, allocations: 59.28 kB / 0.6489 GB, free: 5.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 4.669e-06/0.6051, allocations: 0 / 0.6489 GB, free: 5.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08491/0.69, allocations: 28.61 MB / 0.6768 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.6902, allocations: 261.3 kB / 0.6771 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006536/0.6967, allocations: 5.056 MB / 0.682 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.6971, allocations: 69.7 kB / 0.6821 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.6996, allocations: 3.876 MB / 0.6858 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009774/0.7005, allocations: 1.001 MB / 0.6868 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/0.7026, allocations: 1.546 MB / 0.6883 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.7026, allocations: 305.1 kB / 0.6886 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/0.7068, allocations: 3.016 MB / 0.6916 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007054/0.7139, allocations: 7.355 MB / 0.6988 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/0.7274, allocations: 11.11 MB / 0.7096 GB, free: 3.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/0.7275, allocations: 48 kB / 0.7096 GB, free: 3.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.2388/0.9664, allocations: 11.21 MB / 0.7206 GB, free: 187.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.9665, allocations: 73.91 kB / 0.7207 GB, free: 187.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001862/0.9667, allocations: 150.4 kB / 0.7208 GB, free: 187.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/0.9697, allocations: 1.22 MB / 0.722 GB, free: 187.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006352/0.9761, allocations: 1.832 MB / 0.7238 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/0.9854, allocations: 8.368 MB / 0.732 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005903/0.9914, allocations: 428 kB / 0.7324 GB, free: 181.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/0.9923, allocations: 452.4 kB / 0.7328 GB, free: 181.8 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.004188/0.9965, allocations: 2.631 MB / 0.7354 GB, free: 180.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/0.9972, allocations: 459.5 kB / 0.7358 GB, free: 180.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00753/1.005, allocations: 5.242 MB / 0.7409 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/1.005, allocations: 27.44 kB / 0.7409 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.005, allocations: 3.938 kB / 0.7409 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.005, allocations: 18.95 kB / 0.741 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.023, allocations: 11.67 MB / 0.7524 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.023, allocations: 0 / 0.7524 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.025, allocations: 0.5017 MB / 0.7529 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/1.028, allocations: 0.989 MB / 0.7538 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.028, allocations: 47.61 kB / 0.7539 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006715/1.034, allocations: 7.707 MB / 0.7614 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.034, allocations: 4 kB / 0.7614 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.045, allocations: 8.739 MB / 0.7699 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.047, allocations: 0.4913 MB / 0.7704 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006349/1.047, allocations: 44 kB / 0.7705 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.049, allocations: 183.6 kB / 0.7706 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/1.05, allocations: 137.8 kB / 0.7708 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.05, allocations: 75.7 kB / 0.7708 GB, free: 156.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004101/1.054, allocations: 3.154 MB / 0.7739 GB, free: 153.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 0 / 0.7739 GB, free: 153.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006413/1.06, allocations: 1.354 MB / 0.7752 GB, free: 152 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.0004847/1.061, allocations: 184.8 kB / 0.7754 GB, free: 151.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008805/1.07, allocations: 7.344 MB / 0.7826 GB, free: 144.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.07, allocations: 0 / 0.7826 GB, free: 144.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.072, allocations: 2.57 MB / 0.7851 GB, free: 141.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.076, allocations: 0.5979 MB / 0.7857 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.094, allocations: 12.72 MB / 0.7981 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/1.098, allocations: 4.1 MB / 0.8021 GB, free: 124.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004781/1.102, allocations: 2.364 MB / 0.8044 GB, free: 122.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009534/1.103, allocations: 323.4 kB / 0.8047 GB, free: 121.9 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/1.103, allocations: 0 / 0.8047 GB, free: 121.9 MB / 0.545 GB Notification: Performance of Templates: time 0.07239/1.176, allocations: 45.6 MB / 0.8492 GB, free: 76.64 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 -s gbode -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