Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000976/0.000976, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.267/0.267, allocations: 34.27 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.259e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.014/0.01404, allocations: 12.25 MB / 390.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01492/0.02896, allocations: 4.419 MB / 394.7 MB, free: 1.898 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005688/0.03465, allocations: 99.5 kB / 394.8 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.04683, allocations: 3.991 MB / 398.8 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.05878, allocations: 2.329 MB / 401.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.06433, allocations: 1.111 MB / 402.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01715/0.08148, allocations: 6.794 MB / 409.1 MB, free: 3.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006233/0.08771, allocations: 4.15 MB / 413.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007116/0.09483, allocations: 2.994 MB / 416.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005232/0.1001, allocations: 2.954 MB / 419.2 MB, free: 9.352 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.1012, allocations: 416 kB / 419.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.1036, allocations: 1.4 MB / 421 MB, free: 7.543 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.1059, allocations: 2.618 MB / 423.6 MB, free: 4.918 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.108, allocations: 1.601 MB / 425.2 MB, free: 3.312 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006955/0.1149, allocations: 5.675 MB / 430.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1149, allocations: 3.984 kB / 430.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1149, allocations: 0 / 430.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002235/0.1152, allocations: 0 / 430.9 MB, free: 13.61 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.008227/0.1234, allocations: 6.55 MB / 437.4 MB, free: 6.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1234, allocations: 8.031 kB / 437.4 MB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006523/0.1299, allocations: 3.106 MB / 440.5 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.135, allocations: 3.287 MB / 443.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.1351, allocations: 283.5 kB / 444.1 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1669/0.302, allocations: 380.9 kB / 444.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.3131, allocations: 7.261 MB / 451.7 MB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.3133, allocations: 61.81 kB / 451.8 MB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/0.3137, allocations: 182.7 kB / 452 MB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002091/0.3157, allocations: 2.143 MB / 454.1 MB, free: 88.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3258, allocations: 3.866 MB / 458 MB, free: 88.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03412/0.3599, allocations: 51.11 MB / 0.4971 GB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/0.3654, allocations: 2.099 MB / 0.4992 GB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3667, allocations: 0.6841 MB / 0.4999 GB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006564/0.3732, allocations: 4.444 MB / 0.5042 GB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.3733, allocations: 54.02 kB / 0.5043 GB, free: 43.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 4.519e-06/0.3733, allocations: 0 / 0.5043 GB, free: 43.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.02571/0.399, allocations: 12.5 MB / 0.5165 GB, free: 39.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.399, allocations: 196.9 kB / 0.5167 GB, free: 38.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/0.4033, allocations: 4.375 MB / 0.5209 GB, free: 35.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.4035, allocations: 49.7 kB / 0.521 GB, free: 35.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.4052, allocations: 4.045 MB / 0.5249 GB, free: 31.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.4058, allocations: 0.719 MB / 0.5256 GB, free: 31.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.407, allocations: 1.527 MB / 0.5271 GB, free: 29.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.4071, allocations: 480.8 kB / 0.5276 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4081, allocations: 0.7415 MB / 0.5283 GB, free: 28.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.4112, allocations: 7.108 MB / 0.5352 GB, free: 18.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005196/0.4164, allocations: 8.573 MB / 0.5436 GB, free: 7.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.923e-05/0.4165, allocations: 44 kB / 0.5437 GB, free: 7.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.00875/0.4252, allocations: 6.512 MB / 0.55 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.4253, allocations: 72 kB / 0.5501 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.4254, allocations: 148 kB / 0.5502 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.4271, allocations: 0.7999 MB / 0.551 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.43, allocations: 1.567 MB / 0.5525 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.435, allocations: 5.848 MB / 0.5582 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/0.4384, allocations: 427.5 kB / 0.5587 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/0.4389, allocations: 427.8 kB / 0.5591 GB, free: 7.438 MB / 426.7 MB 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.001505/0.4404, allocations: 0.7284 MB / 0.5598 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/0.441, allocations: 445.3 kB / 0.5602 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.4437, allocations: 1.752 MB / 0.5619 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.4437, allocations: 20 kB / 0.5619 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.4437, allocations: 7.938 kB / 0.5619 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.4437, allocations: 11.97 kB / 0.5619 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/0.4528, allocations: 5.778 MB / 0.5676 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/0.4528, allocations: 3.984 kB / 0.5676 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.4537, allocations: 295.5 kB / 0.5679 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.4552, allocations: 0.5837 MB / 0.5684 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.4553, allocations: 31.98 kB / 0.5685 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/0.4599, allocations: 5.312 MB / 0.5737 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4599, allocations: 4 kB / 0.5737 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/0.4643, allocations: 2.851 MB / 0.5764 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.4653, allocations: 405.1 kB / 0.5768 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/0.4657, allocations: 32 kB / 0.5769 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/0.4667, allocations: 147.7 kB / 0.577 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.4669, allocations: 108.4 kB / 0.5771 GB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.467, allocations: 47.98 kB / 0.5772 GB, free: 4.492 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002911/0.4699, allocations: 1.897 MB / 0.579 GB, free: 2.594 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4699, allocations: 0 / 0.579 GB, free: 2.594 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004691/0.4746, allocations: 1.289 MB / 0.5803 GB, free: 1.305 MB / 442.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 (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.0004235/0.475, allocations: 174.1 kB / 0.5804 GB, free: 1.129 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005724/0.4807, allocations: 3.55 MB / 0.5839 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.4807, allocations: 4.062 kB / 0.5839 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.4819, allocations: 0.9494 MB / 0.5848 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.4845, allocations: 0.5258 MB / 0.5853 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.4988, allocations: 8.833 MB / 0.594 GB, free: 3.113 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.5006, allocations: 1.474 MB / 0.5954 GB, free: 1.609 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003226/0.5038, allocations: 1.756 MB / 0.5971 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/0.5046, allocations: 264.5 kB / 0.5974 GB, free: 15.59 MB / 474.7 MB Notification: Performance of SimCode: time 2.836e-06/0.5046, allocations: 0 / 0.5974 GB, free: 15.59 MB / 474.7 MB Notification: Performance of Templates: time 0.2068/0.7114, allocations: 37.76 MB / 0.6342 GB, free: 133.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.665728069841862]