Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.0011/0.0011, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002719, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001065/0.001065, allocations: 161.1 kB / 11.34 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002461, allocations: 483.5 kB / 11.81 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8364/0.8364, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1593/0.9957, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1411/0.1411, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02149/0.1626, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 267.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.473e-05, allocations: 6.25 kB / 267.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01174/0.01176, allocations: 13.56 MB / 281 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.0194, allocations: 4.784 MB / 285.8 MB, free: 84 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1382/0.1576, allocations: 104.5 kB / 285.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005519/0.1631, allocations: 3.836 MB / 289.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.1687, allocations: 2.548 MB / 292.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1704, allocations: 1.036 MB / 293.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0077/0.1781, allocations: 6.251 MB / 299.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.1822, allocations: 3.979 MB / 303.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/0.1864, allocations: 3.85 MB / 307.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.1897, allocations: 3.042 MB / 310.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009286/0.1906, allocations: 472 kB / 310.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1926, allocations: 1.492 MB / 312.4 MB, free: 8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.1944, allocations: 2.594 MB / 315 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.1958, allocations: 1.449 MB / 316.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00428/0.2001, allocations: 5.852 MB / 322.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.2001, allocations: 0 / 322.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2001, allocations: 0 / 322.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.19e-05/0.2002, allocations: 0 / 322.3 MB, free: 14.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.006327/0.2065, allocations: 7.375 MB / 329.7 MB, free: 7.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2065, allocations: 8.031 kB / 329.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.2103, allocations: 1.438 MB / 331.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.2131, allocations: 2.785 MB / 333.9 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.2132, allocations: 308.6 kB / 334.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.2137, allocations: 411.8 kB / 334.6 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/0.2197, allocations: 6.366 MB / 341 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.915e-05/0.2198, allocations: 56 kB / 341 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003075/0.2201, allocations: 197.7 kB / 341.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/0.2217, allocations: 2.101 MB / 343.3 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/0.2267, allocations: 3.197 MB / 346.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.26, allocations: 39.7 MB / 386.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/0.2644, allocations: 1.839 MB / 388 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/0.2652, allocations: 394.1 kB / 388.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007134/0.2723, allocations: 4.248 MB / 392.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.2724, allocations: 51.33 kB / 392.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=149): time 5.27e-06/0.2724, allocations: 0 / 392.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.01186/0.2842, allocations: 4.502 MB / 397.2 MB, free: 3.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.2843, allocations: 170.7 kB / 397.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004128/0.2884, allocations: 4.271 MB / 401.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.2886, allocations: 45.7 kB / 401.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.2904, allocations: 4.032 MB / 405.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/0.291, allocations: 0.6631 MB / 406.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.2924, allocations: 1.441 MB / 407.8 MB, free: 8.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.686e-05/0.2925, allocations: 301.1 kB / 408.1 MB, free: 8.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.2937, allocations: 0.8764 MB / 409 MB, free: 7.418 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/0.2973, allocations: 5.599 MB / 414.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006571/0.3039, allocations: 7.688 MB / 422.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/0.304, allocations: 48 kB / 422.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=976) (initialization): time 0.00718/0.3112, allocations: 5.102 MB / 427.4 MB, free: 88 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.3113, allocations: 83.94 kB / 427.5 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/0.3114, allocations: 176 kB / 427.7 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/0.3119, allocations: 296 kB / 428 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.3152, allocations: 1.899 MB / 429.9 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.3171, allocations: 2.724 MB / 432.6 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/0.3214, allocations: 343.9 kB / 433 MB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006285/0.322, allocations: 408 kB / 433.3 MB, free: 9.973 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (950): * Single equations (assignments): 945 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001932/0.324, allocations: 0.7464 MB / 434.1 MB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/0.3246, allocations: 263.6 kB / 434.4 MB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.3256, allocations: 0.8051 MB / 435.2 MB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.3257, allocations: 16 kB / 435.2 MB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3257, allocations: 0 / 435.2 MB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3257, allocations: 7.969 kB / 435.2 MB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006055/0.3317, allocations: 4.56 MB / 439.7 MB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-05/0.3318, allocations: 20 kB / 439.8 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.3324, allocations: 247.6 kB / 440 MB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.3335, allocations: 0.4892 MB / 440.5 MB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.334, allocations: 321.6 kB / 440.8 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.3341, allocations: 31.94 kB / 440.8 MB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.3355, allocations: 2.413 MB / 443.2 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3355, allocations: 11.94 kB / 443.3 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.3376, allocations: 1.904 MB / 445.2 MB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006412/0.3383, allocations: 35.98 kB / 445.2 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.3391, allocations: 35.98 kB / 445.2 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3392, allocations: 111.6 kB / 445.3 MB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.3392, allocations: 36 kB / 445.4 MB, free: 13.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.3408, allocations: 1.602 MB / 447 MB, free: 11.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3408, allocations: 4 kB / 447 MB, free: 11.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004121/0.3449, allocations: 1.238 MB / 448.2 MB, free: 10.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.3453, allocations: 175.9 kB / 448.4 MB, free: 10.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.3493, allocations: 3.139 MB / 451.5 MB, free: 7.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002397/0.3496, allocations: 134.6 kB / 451.7 MB, free: 7.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.3519, allocations: 1.204 MB / 452.9 MB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/0.3569, allocations: 3.593 MB / 456.5 MB, free: 1.785 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1525/0.5094, allocations: 9.819 MB / 466.3 MB, free: 142.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.5119, allocations: 1.619 MB / 467.9 MB, free: 141.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002152/0.5141, allocations: 0.6106 MB / 468.5 MB, free: 141.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.5153, allocations: 0.6466 MB / 469.2 MB, free: 141.8 MB / 442.7 MB Notification: Performance of SimCode: time 4.588e-06/0.5153, allocations: 0 / 469.2 MB, free: 141.8 MB / 442.7 MB Notification: Performance of Templates: time 0.06042/0.5757, allocations: 33.27 MB / 0.4907 GB, free: 124.1 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.762377238832414]