Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009982/0.0009983, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 226.5 MB / 245.4 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008817/0.0008821, allocations: 92.36 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3566/0.3566, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003957, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3815, allocations: 62.96 MB / 0.5184 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5252, allocations: 110 MB / 0.6258 GB, free: 11.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.5254, allocations: 87.89 kB / 0.6259 GB, free: 11.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6056/1.131, allocations: 141.1 MB / 0.7637 GB, free: 81.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.131, allocations: 0 / 0.7637 GB, free: 81.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000604/1.132, allocations: 149.3 kB / 0.7638 GB, free: 81.4 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02747/1.159, allocations: 7.284 MB / 0.7709 GB, free: 74.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.159, allocations: 12.03 kB / 0.7709 GB, free: 74.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02854/1.188, allocations: 7.034 MB / 0.7778 GB, free: 66.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/1.208, allocations: 6.891 MB / 0.7845 GB, free: 59.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006399/1.209, allocations: 0.5219 MB / 0.785 GB, free: 59.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/1.214, allocations: 0.6953 MB / 0.7857 GB, free: 58.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04386/1.258, allocations: 16.52 MB / 0.8019 GB, free: 40.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008408/1.259, allocations: 107.2 kB / 0.802 GB, free: 40.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00524/1.264, allocations: 343.8 kB / 0.8023 GB, free: 40.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/1.267, allocations: 1.483 MB / 0.8037 GB, free: 38.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/1.297, allocations: 13.02 MB / 0.8165 GB, free: 25.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5076/1.805, allocations: 75.35 MB / 0.89 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.819, allocations: 6.235 MB / 0.8961 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/1.824, allocations: 3.478 MB / 0.8995 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/1.824, allocations: 44.03 kB / 0.8996 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/1.824, allocations: 66.03 kB / 0.8996 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 6.162e-06/1.824, allocations: 0 / 0.8996 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.07771/1.902, allocations: 27.54 MB / 0.9265 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.902, allocations: 292.6 kB / 0.9268 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01777/1.92, allocations: 7.06 MB / 0.9337 GB, free: 97.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009001/1.921, allocations: 63.3 kB / 0.9338 GB, free: 97.51 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006036/1.927, allocations: 4.995 MB / 0.9386 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00221/1.929, allocations: 1.015 MB / 0.9396 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008996/1.93, allocations: 169.1 kB / 0.9398 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005477/1.931, allocations: 0.6797 MB / 0.9404 GB, free: 94.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004984/1.936, allocations: 3.076 MB / 0.9435 GB, free: 94.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009152/1.945, allocations: 8.357 MB / 0.9516 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/1.96, allocations: 12.44 MB / 0.9638 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003982/1.96, allocations: 52.62 kB / 0.9638 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02892/1.989, allocations: 12.28 MB / 0.9758 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004166/1.99, allocations: 85.53 kB / 0.9759 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005322/1.99, allocations: 185.3 kB / 0.9761 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/1.994, allocations: 1.341 MB / 0.9774 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00747/2.001, allocations: 1.971 MB / 0.9793 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/2.014, allocations: 11.26 MB / 0.9903 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009272/2.024, allocations: 481 kB / 0.9908 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/2.026, allocations: 0.517 MB / 0.9913 GB, free: 63.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1037 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01014/2.036, allocations: 3.299 MB / 0.9945 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/2.039, allocations: 0.5977 MB / 0.9951 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/2.05, allocations: 5.272 MB / 1 GB, free: 56.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-05/2.05, allocations: 28 kB / 1 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-05/2.05, allocations: 8 kB / 1 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/2.05, allocations: 11.02 kB / 1 GB, free: 56.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03752/2.088, allocations: 12.95 MB / 1.013 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/2.088, allocations: 0 / 1.013 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/2.09, allocations: 427.9 kB / 1.013 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002697/2.093, allocations: 1.059 MB / 1.014 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004541/2.093, allocations: 44 kB / 1.014 GB, free: 44.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/2.104, allocations: 10.23 MB / 1.024 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/2.104, allocations: 6.516 kB / 1.024 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/2.119, allocations: 8.827 MB / 1.033 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/2.122, allocations: 0.6586 MB / 1.034 GB, free: 26.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00245/2.125, allocations: 40.86 kB / 1.034 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003981/2.129, allocations: 153.5 kB / 1.034 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/2.129, allocations: 156.5 kB / 1.034 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/2.13, allocations: 71.08 kB / 1.034 GB, free: 26.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01113/2.141, allocations: 4.488 MB / 1.038 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/2.141, allocations: 0 / 1.038 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01219/2.153, allocations: 1.598 MB / 1.04 GB, free: 21.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/2.154, allocations: 200.2 kB / 1.04 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0149/2.169, allocations: 7.762 MB / 1.048 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.169, allocations: 3.938 kB / 1.048 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004979/2.174, allocations: 2.788 MB / 1.05 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01188/2.186, allocations: 0.8387 MB / 1.051 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04256/2.229, allocations: 17.9 MB / 1.069 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01331/2.242, allocations: 5.015 MB / 1.074 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01088/2.253, allocations: 2.82 MB / 1.076 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/2.255, allocations: 399.4 kB / 1.077 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/2.255, allocations: 0 / 1.077 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of Templates: time 0.4934/2.749, allocations: 60.65 MB / 1.136 GB, free: 129 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches