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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 199.3 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009688/0.0009688, allocations: 93.17 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.703e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09565, allocations: 63.24 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3615/0.4572, allocations: 114.9 MB / 0.6166 GB, free: 4.035 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4574, allocations: 74.53 kB / 0.6166 GB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6085/1.066, allocations: 140.6 MB / 0.7539 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.885e-06/1.066, allocations: 0 / 0.7539 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009871/1.067, allocations: 128.5 kB / 0.7541 GB, free: 109.7 MB / 0.5261 GB 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.02159/1.089, allocations: 7.07 MB / 0.761 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.089, allocations: 9.875 kB / 0.761 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03085/1.119, allocations: 7.56 MB / 0.7684 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/1.139, allocations: 8.305 MB / 0.7765 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/1.139, allocations: 212.7 kB / 0.7767 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00284/1.142, allocations: 402 kB / 0.7771 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01607/1.158, allocations: 9.686 MB / 0.7865 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02371/1.182, allocations: 14.25 MB / 0.8004 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002638/1.182, allocations: 100.7 kB / 0.8005 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008791/1.183, allocations: 44.81 kB / 0.8006 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/1.185, allocations: 1.587 MB / 0.8021 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/1.249, allocations: 73.69 MB / 0.8741 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00548/1.254, allocations: 5.223 MB / 0.8792 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/1.258, allocations: 3.78 MB / 0.8829 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/1.26, allocations: 2.261 MB / 0.8851 GB, free: 46.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.26, allocations: 70.44 kB / 0.8852 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=302): time 5.46e-06/1.26, allocations: 0 / 0.8852 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=385): time 0.07856/1.338, allocations: 40.68 MB / 0.9249 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/1.338, allocations: 269.2 kB / 0.9251 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005651/1.344, allocations: 4.612 MB / 0.9296 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007115/1.345, allocations: 25.7 kB / 0.9297 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002177/1.347, allocations: 4.775 MB / 0.9343 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.348, allocations: 1.364 MB / 0.9357 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004522/1.349, allocations: 0 / 0.9357 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000345/1.349, allocations: 0.7138 MB / 0.9364 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00605/1.355, allocations: 3.758 MB / 0.94 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.365, allocations: 8.942 MB / 0.9488 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/1.374, allocations: 5.558 MB / 0.9542 GB, free: 212 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-05/1.374, allocations: 56 kB / 0.9542 GB, free: 156 kB / 0.5417 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.299/1.673, allocations: 15 MB / 0.9689 GB, free: 114 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000231/1.673, allocations: 88.95 kB / 0.969 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004216/1.674, allocations: 187.9 kB / 0.9691 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/1.685, allocations: 4.008 MB / 0.9731 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006954/1.692, allocations: 2.112 MB / 0.9751 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/1.717, allocations: 20.11 MB / 0.9948 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.724, allocations: 375.8 kB / 0.9951 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.726, allocations: 0.5397 MB / 0.9957 GB, free: 111.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 855 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1127): * Single equations (assignments): 1122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 45,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/1.728, allocations: 0.5883 MB / 0.9962 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009111/1.728, allocations: 0.5394 MB / 0.9968 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/1.746, allocations: 9.366 MB / 1.006 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.139e-05/1.746, allocations: 40.16 kB / 1.006 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-05/1.746, allocations: 16.66 kB / 1.006 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.402e-05/1.746, allocations: 20.34 kB / 1.006 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0324/1.778, allocations: 18.03 MB / 1.024 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/1.778, allocations: 3.812 kB / 1.024 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.781, allocations: 0.5314 MB / 1.024 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009784/1.791, allocations: 3.522 MB / 1.028 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/1.791, allocations: 13.27 kB / 1.028 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02139/1.813, allocations: 17.66 MB / 1.045 GB, free: 96.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.813, allocations: 11.66 kB / 1.045 GB, free: 96.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/1.834, allocations: 14.15 MB / 1.059 GB, free: 87.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.836, allocations: 0.5457 MB / 1.059 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007771/1.836, allocations: 4 kB / 1.059 GB, free: 87.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/1.839, allocations: 166.8 kB / 1.059 GB, free: 87.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/1.839, allocations: 243.8 kB / 1.06 GB, free: 87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.84, allocations: 101.6 kB / 1.06 GB, free: 86.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003969/1.844, allocations: 3.091 MB / 1.063 GB, free: 84.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.844, allocations: 0 / 1.063 GB, free: 84.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006792/1.85, allocations: 1.618 MB / 1.064 GB, free: 82.65 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006713/1.851, allocations: 183.3 kB / 1.064 GB, free: 82.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.863, allocations: 9.213 MB / 1.073 GB, free: 74.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.863, allocations: 4 kB / 1.073 GB, free: 74.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00456/1.867, allocations: 3.687 MB / 1.077 GB, free: 70.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.871, allocations: 0.5894 MB / 1.078 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.892, allocations: 13.05 MB / 1.09 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004309/1.896, allocations: 5.005 MB / 1.095 GB, free: 55.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006789/1.903, allocations: 2.891 MB / 1.098 GB, free: 53.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.904, allocations: 362.1 kB / 1.098 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/1.904, allocations: 4 kB / 1.098 GB, free: 53.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.3867/2.291, allocations: 68.53 MB / 1.165 GB, free: 116.7 MB / 0.5573 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches