Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009814/0.0009815, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008804/0.0008801, allocations: 98.16 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3452/0.3452, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 62.95 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4955, allocations: 111.7 MB / 0.6275 GB, free: 9.555 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4958, allocations: 87.94 kB / 0.6276 GB, free: 9.473 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7934/1.289, allocations: 205.2 MB / 0.8279 GB, free: 15.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.289, allocations: 0 / 0.8279 GB, free: 15.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007115/1.29, allocations: 219.9 kB / 0.8281 GB, free: 15.33 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.03899/1.329, allocations: 11.07 MB / 0.8389 GB, free: 4.152 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.329, allocations: 8.031 kB / 0.8389 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03969/1.369, allocations: 9.142 MB / 0.8479 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02824/1.397, allocations: 9.814 MB / 0.8575 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/1.398, allocations: 0.8188 MB / 0.8583 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005224/1.403, allocations: 1.098 MB / 0.8593 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07067/1.474, allocations: 25.6 MB / 0.8843 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007558/1.475, allocations: 127 kB / 0.8845 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004519/1.479, allocations: 0.5153 MB / 0.885 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/1.483, allocations: 2.353 MB / 0.8873 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4133/1.896, allocations: 20.87 MB / 0.9076 GB, free: 74.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1487/2.045, allocations: 108.4 MB / 1.014 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02965/2.075, allocations: 12.16 MB / 1.025 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009204/2.084, allocations: 7.022 MB / 1.032 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002549/2.087, allocations: 2.331 MB / 1.035 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/2.087, allocations: 88.81 kB / 1.035 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=443): time 1.071e-05/2.087, allocations: 0 / 1.035 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527): time 0.1778/2.265, allocations: 56.22 MB / 1.09 GB, free: 12.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/2.265, allocations: 317.1 kB / 1.09 GB, free: 12.13 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02639/2.291, allocations: 9.679 MB / 1.099 GB, free: 4.121 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001578/2.293, allocations: 115.6 kB / 1.099 GB, free: 4.008 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.449/2.742, allocations: 7.126 MB / 1.106 GB, free: 122.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003584/2.746, allocations: 1.948 MB / 1.108 GB, free: 121.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/2.747, allocations: 253.8 kB / 1.109 GB, free: 121.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00078/2.748, allocations: 0.8489 MB / 1.109 GB, free: 121.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009626/2.758, allocations: 5.597 MB / 1.115 GB, free: 121.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01554/2.773, allocations: 12.67 MB / 1.127 GB, free: 112.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02934/2.803, allocations: 19.82 MB / 1.147 GB, free: 103.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007372/2.804, allocations: 70.12 kB / 1.147 GB, free: 103.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.05717/2.861, allocations: 21 MB / 1.167 GB, free: 101.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007237/2.862, allocations: 112.9 kB / 1.167 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008786/2.863, allocations: 248.2 kB / 1.167 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008771/2.871, allocations: 3.207 MB / 1.171 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/2.883, allocations: 3.09 MB / 1.174 GB, free: 101.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03042/2.914, allocations: 22.57 MB / 1.196 GB, free: 90 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.016/2.93, allocations: 0.7649 MB / 1.196 GB, free: 89.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004959/2.935, allocations: 0.7404 MB / 1.197 GB, free: 89.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1542): * Single equations (assignments): 1535 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01766/2.953, allocations: 4.876 MB / 1.202 GB, free: 87.49 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003701/2.956, allocations: 0.8725 MB / 1.203 GB, free: 87.01 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02691/2.983, allocations: 12.36 MB / 1.215 GB, free: 82.53 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-05/2.983, allocations: 56.25 kB / 1.215 GB, free: 82.53 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.912e-05/2.983, allocations: 15.84 kB / 1.215 GB, free: 82.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001557/2.984, allocations: 29.64 kB / 1.215 GB, free: 82.53 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0657/3.049, allocations: 27.27 MB / 1.242 GB, free: 65.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.277e-05/3.049, allocations: 4 kB / 1.242 GB, free: 65.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005429/3.055, allocations: 0.974 MB / 1.242 GB, free: 64.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007031/3.062, allocations: 2.829 MB / 1.245 GB, free: 62.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/3.063, allocations: 101.5 kB / 1.245 GB, free: 62.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02422/3.088, allocations: 21.08 MB / 1.266 GB, free: 44.01 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/3.088, allocations: 7.938 kB / 1.266 GB, free: 44 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03468/3.122, allocations: 19.13 MB / 1.285 GB, free: 27.49 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003758/3.126, allocations: 0.9357 MB / 1.286 GB, free: 26.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004026/3.13, allocations: 95.94 kB / 1.286 GB, free: 26.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007504/3.138, allocations: 411 kB / 1.286 GB, free: 26.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002227/3.14, allocations: 328 kB / 1.286 GB, free: 26.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00133/3.141, allocations: 138.4 kB / 1.286 GB, free: 25.88 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01615/3.158, allocations: 6.191 MB / 1.292 GB, free: 20.85 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.022e-06/3.158, allocations: 0 / 1.292 GB, free: 20.85 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01887/3.176, allocations: 2.629 MB / 1.295 GB, free: 18.23 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (435): * Single equations (assignments): 428 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00189/3.178, allocations: 275.1 kB / 1.295 GB, free: 17.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0239/3.202, allocations: 14.1 MB / 1.309 GB, free: 5.578 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/3.202, allocations: 0 / 1.309 GB, free: 5.578 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3802/3.583, allocations: 6.14 MB / 1.315 GB, free: 107.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01637/3.599, allocations: 1.251 MB / 1.316 GB, free: 107.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06319/3.662, allocations: 29.5 MB / 1.345 GB, free: 96.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02204/3.684, allocations: 7.367 MB / 1.352 GB, free: 95.93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01767/3.702, allocations: 4.217 MB / 1.356 GB, free: 95.63 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00502/3.707, allocations: 0.597 MB / 1.357 GB, free: 95.62 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/3.707, allocations: 1.422 kB / 1.357 GB, free: 95.62 MB / 0.573 GB Notification: Performance of Templates: time 0.1907/3.898, allocations: 100.1 MB / 1.455 GB, free: 55.96 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque3/Torque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches