Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 177 MB / 204.4 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.383/0.383, allocations: 34.24 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.898e-05, allocations: 4.281 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01663/0.01666, allocations: 11.08 MB / 388.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.02787, allocations: 4.282 MB / 392.6 MB, free: 3.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.03071, allocations: 103.5 kB / 392.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008718/0.03942, allocations: 3.863 MB / 396.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00692/0.04634, allocations: 2.317 MB / 398.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.04925, allocations: 1.119 MB / 400 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.05962, allocations: 6.798 MB / 406.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00776/0.06738, allocations: 4.131 MB / 410.9 MB, free: 1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008019/0.0754, allocations: 2.978 MB / 413.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005809/0.08121, allocations: 2.891 MB / 416.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.08269, allocations: 424 kB / 417.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/0.08639, allocations: 1.404 MB / 418.6 MB, free: 9.297 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004243/0.09063, allocations: 2.61 MB / 421.2 MB, free: 6.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004339/0.09497, allocations: 1.589 MB / 422.8 MB, free: 5.086 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.1106, allocations: 8.781 MB / 431.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1106, allocations: 4 kB / 431.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1106, allocations: 0 / 431.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003642/0.111, allocations: 4 kB / 431.6 MB, free: 12.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.0186/0.1296, allocations: 6.17 MB / 437.8 MB, free: 6.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1296, allocations: 12.03 kB / 437.8 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.1444, allocations: 3.173 MB / 440.9 MB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1926/0.337, allocations: 3.669 MB / 444.6 MB, free: 97.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.3373, allocations: 283.3 kB / 444.9 MB, free: 97.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/0.339, allocations: 375.6 kB / 445.3 MB, free: 97.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/0.3607, allocations: 11.76 MB / 457 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/0.361, allocations: 61.3 kB / 457.1 MB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/0.3624, allocations: 183.3 kB / 457.3 MB, free: 92.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003409/0.3658, allocations: 2.151 MB / 459.4 MB, free: 91.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.3848, allocations: 9.694 MB / 469.1 MB, free: 88.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05761/0.4424, allocations: 43.42 MB / 0.5005 GB, free: 56.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.4531, allocations: 3.671 MB / 0.5041 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/0.4559, allocations: 2.078 MB / 0.5061 GB, free: 51.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/0.468, allocations: 6.145 MB / 0.5121 GB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.468, allocations: 49.53 kB / 0.5122 GB, free: 46.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 4.94e-06/0.468, allocations: 0 / 0.5122 GB, free: 46.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=171): time 0.04901/0.517, allocations: 17.8 MB / 0.5296 GB, free: 28.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.5171, allocations: 200.9 kB / 0.5297 GB, free: 28.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/0.523, allocations: 4.989 MB / 0.5346 GB, free: 23.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003887/0.5233, allocations: 49.7 kB / 0.5347 GB, free: 23.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.525, allocations: 3.817 MB / 0.5384 GB, free: 19.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008256/0.5258, allocations: 0.7095 MB / 0.5391 GB, free: 18.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.5274, allocations: 1.405 MB / 0.5405 GB, free: 17.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.5275, allocations: 301.1 kB / 0.5407 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/0.5301, allocations: 2.403 MB / 0.5431 GB, free: 14.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004363/0.5345, allocations: 6.695 MB / 0.5496 GB, free: 5.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.5459, allocations: 9.688 MB / 0.5591 GB, free: 10.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.5461, allocations: 44 kB / 0.5591 GB, free: 10.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.0208/0.5668, allocations: 10.13 MB / 0.569 GB, free: 15.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.567, allocations: 69 kB / 0.5691 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/0.5672, allocations: 152 kB / 0.5692 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/0.5712, allocations: 1.295 MB / 0.5705 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/0.5767, allocations: 1.591 MB / 0.572 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.5899, allocations: 8.267 MB / 0.5801 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0071/0.597, allocations: 455.5 kB / 0.5806 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/0.5985, allocations: 424 kB / 0.581 GB, free: 3.488 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (842): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005835/0.6043, allocations: 2.455 MB / 0.5834 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.6056, allocations: 445.3 kB / 0.5838 GB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/0.6135, allocations: 3.546 MB / 0.5872 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/0.6136, allocations: 16 kB / 0.5873 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.6136, allocations: 12 kB / 0.5873 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.6136, allocations: 7.969 kB / 0.5873 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/0.6328, allocations: 7.481 MB / 0.5946 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.6328, allocations: 4 kB / 0.5946 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.6345, allocations: 319.7 kB / 0.5949 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/0.6381, allocations: 1.074 MB / 0.5959 GB, free: 4.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.6383, allocations: 35.98 kB / 0.596 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1841/0.8224, allocations: 7.627 MB / 0.6034 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8224, allocations: 6.094 kB / 0.6034 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008168/0.8306, allocations: 6.171 MB / 0.6095 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.832, allocations: 417.7 kB / 0.6099 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/0.8325, allocations: 28.56 kB / 0.6099 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.8342, allocations: 162.2 kB / 0.61 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.8345, allocations: 113.7 kB / 0.6101 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.8347, allocations: 47.09 kB / 0.6102 GB, free: 125.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003886/0.8385, allocations: 2.948 MB / 0.6131 GB, free: 124.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8385, allocations: 0 / 0.6131 GB, free: 124.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005596/0.8441, allocations: 1.3 MB / 0.6143 GB, free: 124.6 MB / 458.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 124 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004931/0.8446, allocations: 180.8 kB / 0.6145 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007337/0.852, allocations: 5.573 MB / 0.62 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.852, allocations: 3.062 kB / 0.62 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.854, allocations: 1.639 MB / 0.6216 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.8572, allocations: 0.5363 MB / 0.6221 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.8757, allocations: 11.08 MB / 0.6329 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00647/0.8822, allocations: 3.251 MB / 0.6361 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008163/0.8903, allocations: 2.054 MB / 0.6381 GB, free: 115.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/0.8921, allocations: 266.3 kB / 0.6383 GB, free: 115.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8921, allocations: 0 / 0.6383 GB, free: 115.8 MB / 458.7 MB Notification: Performance of Templates: time 0.09262/0.9847, allocations: 38.49 MB / 0.6759 GB, free: 88.69 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.4911072119139135]