Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.001685/0.001685, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002257/0.002257, allocations: 214.7 kB / 23 MB, free: 5.574 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.635/1.635, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.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.2444/0.2444, allocations: 46.91 MB / 359.4 MB, free: 4.828 MB / 286.1 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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 84.12 kB / 0.4947 GB, free: 8.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3672, allocations: 66 MB / 0.5591 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01884/0.386, allocations: 15.6 MB / 0.5743 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.4006, allocations: 4.972 MB / 0.5792 GB, free: 352 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00438/0.405, allocations: 103.7 kB / 0.5793 GB, free: 248 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.4155, allocations: 5.07 MB / 0.5843 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00768/0.4231, allocations: 2.555 MB / 0.5867 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.4263, allocations: 1.111 MB / 0.5878 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.4372, allocations: 6.887 MB / 0.5946 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00776/0.445, allocations: 4.169 MB / 0.5986 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005355/0.4504, allocations: 2.403 MB / 0.601 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006165/0.4565, allocations: 3.474 MB / 0.6044 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.4587, allocations: 0.5039 MB / 0.6049 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004203/0.4629, allocations: 1.432 MB / 0.6063 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004998/0.4679, allocations: 3.054 MB / 0.6092 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007702/0.4756, allocations: 3.344 MB / 0.6125 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.4937, allocations: 10.41 MB / 0.6227 GB, free: 3.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4937, allocations: 0 / 0.6227 GB, free: 3.617 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4937, allocations: 4 kB / 0.6227 GB, free: 3.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000476/0.4942, allocations: 0 / 0.6227 GB, free: 3.613 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02365/0.5179, allocations: 7.599 MB / 0.6301 GB, free: 11.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5179, allocations: 8.031 kB / 0.6301 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.5312, allocations: 2.754 MB / 0.6328 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.5433, allocations: 4.279 MB / 0.637 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004749/0.5438, allocations: 361.5 kB / 0.6373 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/0.546, allocations: 487.6 kB / 0.6378 GB, free: 3.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0317/0.5777, allocations: 14.67 MB / 0.6521 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/0.5779, allocations: 71.45 kB / 0.6522 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007127/0.5786, allocations: 227.8 kB / 0.6524 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004978/0.5836, allocations: 2.746 MB / 0.6551 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/0.6111, allocations: 12.49 MB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08366/0.6947, allocations: 58.13 MB / 0.724 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/0.7137, allocations: 7.042 MB / 0.7309 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2881/1.002, allocations: 3.554 MB / 0.7344 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/1.014, allocations: 8.992 MB / 0.7432 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/1.014, allocations: 65.69 kB / 0.7432 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.159e-06/1.014, allocations: 0 / 0.7432 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.06968/1.083, allocations: 33.12 MB / 0.7756 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/1.083, allocations: 235.6 kB / 0.7758 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007461/1.091, allocations: 6.664 MB / 0.7823 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006967/1.092, allocations: 69.22 kB / 0.7824 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.094, allocations: 4.549 MB / 0.7868 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.095, allocations: 1.141 MB / 0.7879 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/1.097, allocations: 1.801 MB / 0.7897 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/1.097, allocations: 305.1 kB / 0.79 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.102, allocations: 3.614 MB / 0.7935 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007016/1.109, allocations: 8.61 MB / 0.8019 GB, free: 96.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/1.121, allocations: 13.17 MB / 0.8148 GB, free: 81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.121, allocations: 48 kB / 0.8148 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.0267/1.148, allocations: 14.05 MB / 0.8285 GB, free: 66.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.148, allocations: 80 kB / 0.8286 GB, free: 66.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002932/1.148, allocations: 180 kB / 0.8288 GB, free: 66.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005189/1.153, allocations: 2.253 MB / 0.831 GB, free: 64.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/1.16, allocations: 2.016 MB / 0.833 GB, free: 62.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/1.174, allocations: 14.22 MB / 0.8468 GB, free: 47.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007169/1.181, allocations: 0.515 MB / 0.8473 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.183, allocations: 0.5078 MB / 0.8478 GB, free: 46.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1058): * Single equations (assignments): 1051 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005345/1.188, allocations: 2.988 MB / 0.8508 GB, free: 43.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.19, allocations: 0.5781 MB / 0.8513 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.201, allocations: 7.196 MB / 0.8584 GB, free: 36.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.201, allocations: 31.94 kB / 0.8584 GB, free: 36.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/1.201, allocations: 12 kB / 0.8584 GB, free: 36.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.441e-05/1.201, allocations: 15.89 kB / 0.8584 GB, free: 36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.023/1.224, allocations: 14.95 MB / 0.873 GB, free: 20.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/1.224, allocations: 8.031 kB / 0.873 GB, free: 20.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.226, allocations: 491.2 kB / 0.8735 GB, free: 20.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004929/1.231, allocations: 2.022 MB / 0.8755 GB, free: 18.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008199/1.232, allocations: 55.2 kB / 0.8755 GB, free: 18.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.247, allocations: 13.59 MB / 0.8888 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.247, allocations: 4 kB / 0.8888 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/1.266, allocations: 11.49 MB / 0.9 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.268, allocations: 0.661 MB / 0.9007 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.269, allocations: 55.94 kB / 0.9007 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.272, allocations: 203.7 kB / 0.9009 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006771/1.272, allocations: 181.6 kB / 0.9011 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.273, allocations: 72 kB / 0.9011 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007721/1.28, allocations: 4.26 MB / 0.9053 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.28, allocations: 4 kB / 0.9053 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008494/1.289, allocations: 1.597 MB / 0.9069 GB, free: 1.875 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007465/1.289, allocations: 190.7 kB / 0.9071 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0159/1.305, allocations: 8.393 MB / 0.9153 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/1.305, allocations: 0 / 0.9153 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007102/1.312, allocations: 3.263 MB / 0.9184 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007046/1.32, allocations: 0.7182 MB / 0.9191 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/1.349, allocations: 15.24 MB / 0.934 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008155/1.357, allocations: 4.535 MB / 0.9385 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007657/1.364, allocations: 2.782 MB / 0.9412 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002059/1.366, allocations: 383.4 kB / 0.9415 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of SimCode: time 1.523e-06/1.366, allocations: 0 / 0.9415 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.3839/1.75, allocations: 62.19 MB / 1.002 GB, free: 218.3 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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: 8.791405090130866]