Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 90.14 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2789/0.2789, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.642e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.602, allocations: 111 MB / 0.5743 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.6023, allocations: 82.73 kB / 0.5744 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3003/0.9026, allocations: 109 MB / 0.6808 GB, free: 11.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.159e-06/0.9026, allocations: 0 / 0.6808 GB, free: 11.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004516/0.9031, allocations: 111.9 kB / 0.6809 GB, free: 11.58 MB / 490.7 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.02603/0.9291, allocations: 5.869 MB / 0.6867 GB, free: 5.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.9292, allocations: 15.97 kB / 0.6867 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03051/0.9597, allocations: 6.899 MB / 0.6934 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.9806, allocations: 7.079 MB / 0.7003 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.981, allocations: 172 kB / 0.7005 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003438/0.9845, allocations: 331.8 kB / 0.7008 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3784/1.363, allocations: 8.105 MB / 0.7087 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03909/1.402, allocations: 12.05 MB / 0.7205 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006435/1.403, allocations: 68.95 kB / 0.7206 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003255/1.406, allocations: 36.12 kB / 0.7206 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003316/1.409, allocations: 1.362 MB / 0.7219 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08219/1.492, allocations: 60.68 MB / 0.7812 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/1.498, allocations: 4.369 MB / 0.7855 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003712/1.501, allocations: 3.051 MB / 0.7884 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01925/1.521, allocations: 12.38 MB / 0.8005 GB, free: 59.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.716e-05/1.521, allocations: 63.66 kB / 0.8006 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 9.548e-06/1.521, allocations: 0 / 0.8006 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.05718/1.578, allocations: 24.82 MB / 0.8248 GB, free: 50.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/1.578, allocations: 259.5 kB / 0.8251 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/1.585, allocations: 3.873 MB / 0.8289 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008342/1.586, allocations: 29.67 kB / 0.8289 GB, free: 48.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002764/1.589, allocations: 4.042 MB / 0.8328 GB, free: 45.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.59, allocations: 0.9598 MB / 0.8338 GB, free: 45.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.591, allocations: 3.812 kB / 0.8338 GB, free: 45.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004845/1.591, allocations: 0.6277 MB / 0.8344 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003759/1.595, allocations: 2.433 MB / 0.8368 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005888/1.601, allocations: 6.896 MB / 0.8435 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006083/1.607, allocations: 4.045 MB / 0.8474 GB, free: 31.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.607, allocations: 44 kB / 0.8475 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01797/1.625, allocations: 8.775 MB / 0.8561 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.625, allocations: 72 kB / 0.8561 GB, free: 23.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/1.626, allocations: 167.9 kB / 0.8563 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/1.627, allocations: 0.5798 MB / 0.8569 GB, free: 22.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006544/1.633, allocations: 1.804 MB / 0.8586 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/1.639, allocations: 5.412 MB / 0.8639 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008028/1.647, allocations: 263.5 kB / 0.8642 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/1.649, allocations: 463 kB / 0.8646 GB, free: 15.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (947): * Single equations (assignments): 942 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003061/1.653, allocations: 0.5051 MB / 0.8651 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/1.654, allocations: 442.3 kB / 0.8655 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/1.663, allocations: 3.775 MB / 0.8692 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.351e-05/1.663, allocations: 28 kB / 0.8692 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/1.663, allocations: 8 kB / 0.8692 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/1.663, allocations: 21.91 kB / 0.8693 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.685, allocations: 9.004 MB / 0.878 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.685, allocations: 3.938 kB / 0.878 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002392/1.688, allocations: 467.4 kB / 0.8785 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/1.689, allocations: 343.6 kB / 0.8788 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002996/1.689, allocations: 15.7 kB / 0.8788 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005707/1.695, allocations: 4.765 MB / 0.8835 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.695, allocations: 3.828 kB / 0.8835 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.708, allocations: 6.877 MB / 0.8902 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003166/1.712, allocations: 0.7876 MB / 0.891 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.713, allocations: 3.562 kB / 0.891 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.716, allocations: 120.7 kB / 0.8911 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/1.717, allocations: 146.4 kB / 0.8912 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/1.717, allocations: 67.67 kB / 0.8913 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007477/1.724, allocations: 2.599 MB / 0.8938 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/1.725, allocations: 0 / 0.8938 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009657/1.734, allocations: 1.119 MB / 0.8949 GB, free: 4.086 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008576/1.735, allocations: 152.8 kB / 0.8951 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3387/2.074, allocations: 6.468 MB / 0.9014 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/2.074, allocations: 1.625 kB / 0.9014 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/2.077, allocations: 2.114 MB / 0.9035 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/2.08, allocations: 465.1 kB / 0.9039 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/2.103, allocations: 9.988 MB / 0.9137 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006133/2.109, allocations: 4.226 MB / 0.9178 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007028/2.116, allocations: 2.431 MB / 0.9202 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/2.117, allocations: 308.8 kB / 0.9205 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/2.117, allocations: 0 / 0.9205 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.0743/2.191, allocations: 39.89 MB / 0.9594 GB, free: 106.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches