Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.737/1.737, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0008462/0.000846, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.1898/0.1898, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.755e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.516, allocations: 105 MB / 0.5685 GB, free: 6.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5163, allocations: 76.31 kB / 0.5686 GB, free: 6.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.353/0.8693, allocations: 134.9 MB / 0.7004 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8694, allocations: 0 / 0.7004 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007727/0.8701, allocations: 136 kB / 0.7005 GB, free: 7.352 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0304/0.9006, allocations: 6.635 MB / 0.707 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.9006, allocations: 8.031 kB / 0.707 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.364/1.265, allocations: 9.488 MB / 0.7162 GB, free: 98.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02335/1.288, allocations: 8.729 MB / 0.7248 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/1.288, allocations: 220.2 kB / 0.725 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003724/1.292, allocations: 416.8 kB / 0.7254 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0178/1.31, allocations: 9.056 MB / 0.7342 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/1.346, allocations: 14.07 MB / 0.748 GB, free: 93.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000733/1.346, allocations: 100 kB / 0.7481 GB, free: 93.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003825/1.35, allocations: 42.94 kB / 0.7481 GB, free: 93.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002532/1.353, allocations: 1.465 MB / 0.7495 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08362/1.436, allocations: 67.71 MB / 0.8157 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006008/1.443, allocations: 4.614 MB / 0.8202 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/1.446, allocations: 2.955 MB / 0.823 GB, free: 45.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.446, allocations: 57.09 kB / 0.8231 GB, free: 45.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/1.447, allocations: 59.94 kB / 0.8232 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 6.292e-06/1.447, allocations: 0 / 0.8232 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=263): time 0.04304/1.49, allocations: 25.61 MB / 0.8482 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/1.49, allocations: 264.3 kB / 0.8484 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006601/1.496, allocations: 4.817 MB / 0.8531 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006028/1.497, allocations: 29.7 kB / 0.8531 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.5, allocations: 4.952 MB / 0.858 GB, free: 20 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.501, allocations: 0.9905 MB / 0.859 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/1.501, allocations: 3.344 kB / 0.859 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000375/1.501, allocations: 0.669 MB / 0.8596 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/1.504, allocations: 2.705 MB / 0.8623 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004898/1.509, allocations: 7.992 MB / 0.8701 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005108/1.514, allocations: 4.596 MB / 0.8745 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.586e-05/1.514, allocations: 56 kB / 0.8746 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1135) (initialization): time 0.02014/1.535, allocations: 10.11 MB / 0.8845 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.535, allocations: 87.8 kB / 0.8845 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002802/1.535, allocations: 192 kB / 0.8847 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/1.537, allocations: 0.7938 MB / 0.8855 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007125/1.544, allocations: 2.009 MB / 0.8875 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009356/1.554, allocations: 8.018 MB / 0.8953 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00752/1.561, allocations: 297.9 kB / 0.8956 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/1.563, allocations: 0.522 MB / 0.8961 GB, free: 14.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1072): * Single equations (assignments): 1066 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001618/1.565, allocations: 0.578 MB / 0.8967 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.566, allocations: 0.5044 MB / 0.8971 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007127/1.573, allocations: 4.07 MB / 0.9011 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/1.573, allocations: 28 kB / 0.9012 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.573, allocations: 8 kB / 0.9012 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.573, allocations: 13.92 kB / 0.9012 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/1.592, allocations: 9.98 MB / 0.9109 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.592, allocations: 3.375 kB / 0.9109 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.594, allocations: 418.5 kB / 0.9113 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/1.595, allocations: 0.4943 MB / 0.9118 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/1.596, allocations: 15.56 kB / 0.9118 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3453/1.941, allocations: 7.069 MB / 0.9187 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.941, allocations: 2.406 kB / 0.9187 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/1.954, allocations: 7.414 MB / 0.926 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003551/1.958, allocations: 0.8813 MB / 0.9268 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001835/1.96, allocations: 3 kB / 0.9268 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.964, allocations: 105.8 kB / 0.9269 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/1.964, allocations: 153.5 kB / 0.9271 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.964, allocations: 69.73 kB / 0.9271 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.011/1.975, allocations: 3.256 MB / 0.9303 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.883e-06/1.975, allocations: 0 / 0.9303 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01295/1.988, allocations: 1.314 MB / 0.9316 GB, free: 108.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (218): * Single equations (assignments): 212 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(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.0007108/1.989, allocations: 158.3 kB / 0.9318 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01077/2, allocations: 6.829 MB / 0.9384 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2, allocations: 1.562 kB / 0.9384 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/2.003, allocations: 2.338 MB / 0.9407 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/2.007, allocations: 0.5935 MB / 0.9413 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/2.028, allocations: 11.85 MB / 0.9529 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006349/2.035, allocations: 5.045 MB / 0.9578 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006715/2.041, allocations: 2.742 MB / 0.9605 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/2.043, allocations: 352.6 kB / 0.9608 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.413e-06/2.043, allocations: 3.688 kB / 0.9608 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.08351/2.126, allocations: 45.39 MB / 1.005 GB, free: 102.4 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches