Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 117.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 199.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 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.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 79.86 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3752, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.02135/0.3966, allocations: 17.27 MB / 0.5479 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.4117, allocations: 5.492 MB / 0.5532 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004202/0.4159, allocations: 115.6 kB / 0.5533 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008694/0.4247, allocations: 4.349 MB / 0.5576 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008185/0.4329, allocations: 2.8 MB / 0.5603 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.4367, allocations: 1.451 MB / 0.5617 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01538/0.4521, allocations: 8.644 MB / 0.5702 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008148/0.4603, allocations: 5.369 MB / 0.5754 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.4652, allocations: 2.66 MB / 0.578 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/0.4716, allocations: 3.832 MB / 0.5818 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.4744, allocations: 0.5352 MB / 0.5823 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.4796, allocations: 1.619 MB / 0.5839 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005235/0.4849, allocations: 3.359 MB / 0.5871 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007092/0.492, allocations: 3.627 MB / 0.5907 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.511, allocations: 11.15 MB / 0.6016 GB, free: 9.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.511, allocations: 4 kB / 0.6016 GB, free: 9.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5111, allocations: 0 / 0.6016 GB, free: 9.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007143/0.5118, allocations: 0 / 0.6016 GB, free: 9.199 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02637/0.5382, allocations: 8.195 MB / 0.6096 GB, free: 0.918 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5382, allocations: 8.031 kB / 0.6096 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02823/0.5665, allocations: 3.67 MB / 0.6132 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.5788, allocations: 5.293 MB / 0.6183 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.5792, allocations: 365.8 kB / 0.6187 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.5811, allocations: 0.5191 MB / 0.6192 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/0.6148, allocations: 16.25 MB / 0.6351 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004193/0.6153, allocations: 83.3 kB / 0.6351 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/0.617, allocations: 235.8 kB / 0.6354 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005015/0.622, allocations: 2.919 MB / 0.6382 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/0.6531, allocations: 13.74 MB / 0.6516 GB, free: 4.652 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09424/0.7474, allocations: 64.53 MB / 0.7147 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3461/1.093, allocations: 7.866 MB / 0.7223 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006425/1.1, allocations: 4.355 MB / 0.7266 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0304/1.13, allocations: 19.46 MB / 0.7456 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.13, allocations: 63.41 kB / 0.7457 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 6.462e-06/1.131, allocations: 0 / 0.7457 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.1528/1.283, allocations: 49.83 MB / 0.7943 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/1.283, allocations: 277.7 kB / 0.7946 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006994/1.29, allocations: 6.034 MB / 0.8005 GB, free: 94.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008218/1.291, allocations: 81.7 kB / 0.8006 GB, free: 94.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.293, allocations: 4.673 MB / 0.8051 GB, free: 89.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.295, allocations: 1.366 MB / 0.8065 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002245/1.297, allocations: 1.916 MB / 0.8083 GB, free: 86.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/1.297, allocations: 308.9 kB / 0.8086 GB, free: 86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004856/1.302, allocations: 4.227 MB / 0.8127 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/1.309, allocations: 9.461 MB / 0.822 GB, free: 69.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/1.323, allocations: 14.65 MB / 0.8363 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/1.323, allocations: 52 kB / 0.8363 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03228/1.355, allocations: 17.56 MB / 0.8535 GB, free: 34.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/1.355, allocations: 84 kB / 0.8536 GB, free: 34.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/1.355, allocations: 180 kB / 0.8537 GB, free: 34.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/1.368, allocations: 4.543 MB / 0.8582 GB, free: 30.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006363/1.374, allocations: 2.133 MB / 0.8603 GB, free: 27.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02928/1.403, allocations: 25.39 MB / 0.8851 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007201/1.411, allocations: 0.5266 MB / 0.8856 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/1.412, allocations: 0.5402 MB / 0.8861 GB, free: 1.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006165/1.418, allocations: 3.121 MB / 0.8891 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.42, allocations: 0.563 MB / 0.8897 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02274/1.443, allocations: 10.72 MB / 0.9002 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.402e-05/1.443, allocations: 40 kB / 0.9002 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.197e-05/1.443, allocations: 23.98 kB / 0.9002 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/1.443, allocations: 15.94 kB / 0.9002 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04394/1.487, allocations: 20.35 MB / 0.9201 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/1.487, allocations: 3.938 kB / 0.9201 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/1.49, allocations: 0.5421 MB / 0.9206 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/1.503, allocations: 4.184 MB / 0.9247 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008256/1.504, allocations: 63.98 kB / 0.9248 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03472/1.539, allocations: 23.14 MB / 0.9474 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.539, allocations: 0 / 0.9474 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3919/1.931, allocations: 15.65 MB / 0.9627 GB, free: 201.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.933, allocations: 0.5881 MB / 0.9632 GB, free: 201 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.934, allocations: 55.78 kB / 0.9633 GB, free: 201 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.937, allocations: 221.6 kB / 0.9635 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/1.938, allocations: 231.4 kB / 0.9637 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002945/1.939, allocations: 96.38 kB / 0.9638 GB, free: 200.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005447/1.944, allocations: 3.765 MB / 0.9675 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.31e-07/1.944, allocations: 0 / 0.9675 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009064/1.953, allocations: 1.905 MB / 0.9694 GB, free: 199.4 MB / 0.6231 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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008089/1.954, allocations: 218.9 kB / 0.9696 GB, free: 199.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.968, allocations: 10.54 MB / 0.9799 GB, free: 195.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.968, allocations: 0 / 0.9799 GB, free: 195.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00577/1.973, allocations: 4.137 MB / 0.9839 GB, free: 193.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.979, allocations: 0.777 MB / 0.9847 GB, free: 193.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/2.009, allocations: 16.23 MB / 1.001 GB, free: 179 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009303/2.018, allocations: 4.865 MB / 1.005 GB, free: 175 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.01012/2.028, allocations: 2.781 MB / 1.008 GB, free: 172.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/2.031, allocations: 382.6 kB / 1.008 GB, free: 172 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/2.031, allocations: 0 / 1.008 GB, free: 172 MB / 0.6231 GB Notification: Performance of Templates: time 0.1848/2.215, allocations: 79.81 MB / 1.086 GB, free: 92.57 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches