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.001473/0.001473, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 82.83 kB / 417.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 62.44 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01624/0.1502, allocations: 14.96 MB / 495 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.1618, allocations: 5.019 MB / 0.4883 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.1656, allocations: 99.69 kB / 0.4884 GB, free: 1.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008353/0.174, allocations: 3.995 MB / 0.4923 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007825/0.1819, allocations: 2.326 MB / 0.4946 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.1852, allocations: 1.166 MB / 0.4957 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.1955, allocations: 6.578 MB / 0.5022 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2679/0.4634, allocations: 4.684 MB / 0.5067 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.4684, allocations: 2.207 MB / 0.5089 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005965/0.4744, allocations: 3.013 MB / 0.5118 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.4767, allocations: 460.2 kB / 0.5123 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.4813, allocations: 1.527 MB / 0.5138 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004612/0.4859, allocations: 2.678 MB / 0.5164 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007388/0.4933, allocations: 2.998 MB / 0.5193 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.5054, allocations: 9.115 MB / 0.5282 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5055, allocations: 0 / 0.5282 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5055, allocations: 0 / 0.5282 GB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003673/0.5059, allocations: 1.781 kB / 0.5282 GB, free: 9.738 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.0227/0.5286, allocations: 6.736 MB / 0.5348 GB, free: 5.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.5286, allocations: 12.34 kB / 0.5348 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02755/0.5562, allocations: 3.297 MB / 0.538 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/0.5668, allocations: 4.03 MB / 0.542 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.567, allocations: 312.3 kB / 0.5423 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.5689, allocations: 432.3 kB / 0.5427 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/0.6043, allocations: 13.83 MB / 0.5562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/0.6046, allocations: 58.58 kB / 0.5562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/0.606, allocations: 197.6 kB / 0.5564 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006649/0.6127, allocations: 2.524 MB / 0.5589 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03846/0.6512, allocations: 11.81 MB / 0.5704 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.7551, allocations: 53.72 MB / 0.6229 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/0.7719, allocations: 5.926 MB / 0.6287 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005184/0.7771, allocations: 3.598 MB / 0.6322 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02487/0.802, allocations: 15.52 MB / 0.6473 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.8021, allocations: 60.56 kB / 0.6474 GB, free: 5.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 5.601e-06/0.8021, allocations: 0 / 0.6474 GB, free: 5.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.09398/0.8961, allocations: 28.63 MB / 0.6754 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.8963, allocations: 260.3 kB / 0.6756 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008676/0.905, allocations: 5.06 MB / 0.6806 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007185/0.9057, allocations: 65.7 kB / 0.6806 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00283/0.9086, allocations: 3.875 MB / 0.6844 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.91, allocations: 1.005 MB / 0.6854 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.9123, allocations: 1.542 MB / 0.6869 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9124, allocations: 308.4 kB / 0.6872 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/0.9168, allocations: 3.009 MB / 0.6901 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007228/0.924, allocations: 7.359 MB / 0.6973 GB, free: 488 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/0.9375, allocations: 11.11 MB / 0.7082 GB, free: 3.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.9376, allocations: 44 kB / 0.7082 GB, free: 3.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.2606/1.198, allocations: 11.2 MB / 0.7191 GB, free: 187.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.198, allocations: 75.94 kB / 0.7192 GB, free: 187.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/1.199, allocations: 150.3 kB / 0.7194 GB, free: 187.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003651/1.202, allocations: 1.23 MB / 0.7206 GB, free: 187.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0085/1.211, allocations: 1.832 MB / 0.7223 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009858/1.221, allocations: 8.354 MB / 0.7305 GB, free: 182.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008109/1.229, allocations: 434.7 kB / 0.7309 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001639/1.231, allocations: 451.6 kB / 0.7313 GB, free: 181.9 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.006273/1.237, allocations: 2.638 MB / 0.7339 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.238, allocations: 459.5 kB / 0.7344 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008344/1.246, allocations: 5.237 MB / 0.7395 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/1.246, allocations: 27.22 kB / 0.7395 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.246, allocations: 7.625 kB / 0.7395 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/1.246, allocations: 12 kB / 0.7395 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.268, allocations: 11.75 MB / 0.751 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/1.268, allocations: 7.797 kB / 0.751 GB, free: 174.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.27, allocations: 0.4932 MB / 0.7515 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/1.273, allocations: 0.9965 MB / 0.7525 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/1.273, allocations: 47.94 kB / 0.7525 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007013/1.28, allocations: 7.698 MB / 0.76 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.28, allocations: 0 / 0.76 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.292, allocations: 8.738 MB / 0.7686 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.294, allocations: 0.4989 MB / 0.769 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009629/1.295, allocations: 51.02 kB / 0.7691 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00241/1.297, allocations: 176.6 kB / 0.7693 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00044/1.298, allocations: 145.8 kB / 0.7694 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.298, allocations: 73.86 kB / 0.7695 GB, free: 157 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004775/1.303, allocations: 3.157 MB / 0.7726 GB, free: 153.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/1.303, allocations: 0 / 0.7726 GB, free: 153.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007351/1.31, allocations: 1.35 MB / 0.7739 GB, free: 152.5 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.0006103/1.311, allocations: 177.2 kB / 0.774 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.326, allocations: 10.14 MB / 0.7839 GB, free: 142.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.326, allocations: 0 / 0.7839 GB, free: 142.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.329, allocations: 2.566 MB / 0.7864 GB, free: 139.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.333, allocations: 0.5981 MB / 0.787 GB, free: 139.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.353, allocations: 12.87 MB / 0.7996 GB, free: 126.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004013/1.357, allocations: 4.093 MB / 0.8036 GB, free: 122.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00536/1.362, allocations: 2.361 MB / 0.8059 GB, free: 119.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.363, allocations: 323.4 kB / 0.8062 GB, free: 119.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/1.363, allocations: 3.172 kB / 0.8062 GB, free: 119.4 MB / 0.545 GB Notification: Performance of Templates: time 0.07668/1.44, allocations: 51.96 MB / 0.857 GB, free: 67.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