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.001441/0.001441, allocations: 84.95 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001457/0.001457, allocations: 158.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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.468/1.468, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 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.2119/0.2119, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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.482e-06/1.482e-06, allocations: 0 / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.258e-05, allocations: 2.281 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.228/0.2281, allocations: 11.08 MB / 453.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2397, allocations: 4.289 MB / 458 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004131/0.2438, allocations: 105.1 kB / 458.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008823/0.2526, allocations: 3.805 MB / 461.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008012/0.2606, allocations: 2.325 MB / 464.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.2633, allocations: 1.095 MB / 465.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009742/0.2731, allocations: 6.779 MB / 472.1 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004854/0.2779, allocations: 4.016 MB / 476.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/0.285, allocations: 2.985 MB / 479.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/0.2908, allocations: 2.879 MB / 482 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.292, allocations: 419.9 kB / 482.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.2952, allocations: 1.396 MB / 483.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.2981, allocations: 2.61 MB / 486.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002896/0.301, allocations: 1.581 MB / 488 MB, free: 8.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.3137, allocations: 8.735 MB / 496.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3137, allocations: 0 / 496.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3137, allocations: 0 / 496.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003077/0.314, allocations: 4 kB / 496.8 MB, free: 15.8 MB / 398.1 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.01797/0.332, allocations: 6.135 MB / 0.4911 GB, free: 9.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.3321, allocations: 8.031 kB / 0.4911 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.3448, allocations: 2.665 MB / 0.4937 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008917/0.3537, allocations: 3.659 MB / 0.4973 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.354, allocations: 279.5 kB / 0.4976 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009604/0.3549, allocations: 376.1 kB / 0.4979 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.3769, allocations: 11.66 MB / 0.5093 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/0.3771, allocations: 55.52 kB / 0.5094 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009103/0.378, allocations: 183.8 kB / 0.5095 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004134/0.3821, allocations: 2.147 MB / 0.5116 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.4046, allocations: 9.599 MB / 0.521 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06296/0.4675, allocations: 43.13 MB / 0.5631 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.4791, allocations: 3.505 MB / 0.5665 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.4824, allocations: 2.005 MB / 0.5685 GB, free: 8.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.4957, allocations: 5.955 MB / 0.5743 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.4957, allocations: 47.56 kB / 0.5744 GB, free: 2.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=154): time 5.901e-06/0.4957, allocations: 0 / 0.5744 GB, free: 2.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=166): time 0.0557/0.5514, allocations: 17.22 MB / 0.5912 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.5516, allocations: 196.9 kB / 0.5914 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009697/0.5613, allocations: 4.97 MB / 0.5962 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004241/0.5617, allocations: 49.98 kB / 0.5963 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003515/0.5652, allocations: 3.844 MB / 0.6 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.5665, allocations: 0.6863 MB / 0.6007 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003071/0.5695, allocations: 1.413 MB / 0.6021 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5697, allocations: 305.1 kB / 0.6024 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/0.5738, allocations: 2.317 MB / 0.6046 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008099/0.5819, allocations: 6.621 MB / 0.6111 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/0.595, allocations: 9.574 MB / 0.6204 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001701/0.5951, allocations: 40 kB / 0.6205 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02068/0.6158, allocations: 9.551 MB / 0.6298 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.616, allocations: 83.95 kB / 0.6299 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002847/0.6163, allocations: 152 kB / 0.63 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.6199, allocations: 1.215 MB / 0.6312 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005843/0.6257, allocations: 1.571 MB / 0.6327 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2362/0.8619, allocations: 8.055 MB / 0.6406 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005881/0.8678, allocations: 430.2 kB / 0.641 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/0.8691, allocations: 430.4 kB / 0.6414 GB, free: 158.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005254/0.8743, allocations: 2.456 MB / 0.6438 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.8753, allocations: 404.8 kB / 0.6442 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007054/0.8824, allocations: 3.347 MB / 0.6475 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/0.8824, allocations: 22.39 kB / 0.6475 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.8825, allocations: 5.5 kB / 0.6475 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.8825, allocations: 8.297 kB / 0.6475 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.9006, allocations: 7.135 MB / 0.6545 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.9006, allocations: 2.375 kB / 0.6545 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.9022, allocations: 300 kB / 0.6548 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/0.905, allocations: 0.986 MB / 0.6557 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.9051, allocations: 27.06 kB / 0.6558 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007961/0.9131, allocations: 7.433 MB / 0.663 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9131, allocations: 4.188 kB / 0.663 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007505/0.9206, allocations: 5.799 MB / 0.6687 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.9218, allocations: 415.9 kB / 0.6691 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.9222, allocations: 30.72 kB / 0.6691 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.924, allocations: 153.8 kB / 0.6693 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.9242, allocations: 103.3 kB / 0.6694 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9244, allocations: 40.78 kB / 0.6694 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003802/0.9282, allocations: 2.946 MB / 0.6723 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9282, allocations: 0 / 0.6723 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005455/0.9336, allocations: 1.293 MB / 0.6735 GB, free: 146.1 MB / 0.5294 GB 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004191/0.934, allocations: 178.6 kB / 0.6737 GB, free: 146 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007421/0.9415, allocations: 5.369 MB / 0.679 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9415, allocations: 0 / 0.679 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.9431, allocations: 1.528 MB / 0.6804 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.9462, allocations: 0.5145 MB / 0.681 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.9635, allocations: 10.81 MB / 0.6915 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/0.9672, allocations: 3.254 MB / 0.6947 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004004/0.9712, allocations: 2.034 MB / 0.6967 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007853/0.972, allocations: 264.4 kB / 0.6969 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.972, allocations: 0 / 0.6969 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.06371/1.036, allocations: 37.61 MB / 0.7337 GB, free: 89.25 MB / 0.5294 GB " [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.248674374073744]