Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.0009114/0.0009114, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001033/0.001033, allocations: 167 kB / 25.61 MB, free: 8.602 MB / 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 0.9323/0.9323, allocations: 177.1 MB / 206 MB, free: 4.473 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.1537/0.1537, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.956e-05, allocations: 5.125 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01196/0.01198, allocations: 13.84 MB / 393.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009389/0.02136, allocations: 4.9 MB / 398 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.02368, allocations: 119.4 kB / 398.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005376/0.02906, allocations: 4.392 MB / 402.5 MB, free: 44 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00618/0.03524, allocations: 2.472 MB / 405 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.03763, allocations: 1.189 MB / 406.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009749/0.04738, allocations: 8.237 MB / 414.4 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006303/0.05368, allocations: 4.962 MB / 419.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005077/0.05876, allocations: 4.624 MB / 424 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.06193, allocations: 3.355 MB / 427.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006587/0.06259, allocations: 0.4921 MB / 427.9 MB, free: 6.594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.06414, allocations: 1.326 MB / 429.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.06609, allocations: 2.93 MB / 432.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.0684, allocations: 1.862 MB / 434 MB, free: 472 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006465/0.07486, allocations: 6.236 MB / 440.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.07487, allocations: 0 / 440.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07487, allocations: 0 / 440.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.07501, allocations: 4 kB / 440.2 MB, free: 10.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.01063/0.08564, allocations: 7.14 MB / 447.4 MB, free: 2.977 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.08568, allocations: 8.031 kB / 447.4 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.1017, allocations: 2.974 MB / 450.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007142/0.1088, allocations: 3.235 MB / 453.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.1092, allocations: 328.8 kB / 453.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006855/0.1099, allocations: 448 kB / 454.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.1205, allocations: 7.233 MB / 461.6 MB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.1207, allocations: 59.52 kB / 461.6 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004401/0.1211, allocations: 211.8 kB / 461.8 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/0.1231, allocations: 2.145 MB / 464 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005081/0.1282, allocations: 3.138 MB / 467.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2085/0.3367, allocations: 54.75 MB / 0.5097 GB, free: 50.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006351/0.343, allocations: 2.01 MB / 0.5116 GB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/0.3439, allocations: 0.5549 MB / 0.5122 GB, free: 49.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007032/0.3509, allocations: 4.346 MB / 0.5164 GB, free: 49.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.351, allocations: 58.08 kB / 0.5165 GB, free: 48.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.85e-06/0.351, allocations: 2.219 kB / 0.5165 GB, free: 48.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.04277/0.3937, allocations: 13.09 MB / 0.5292 GB, free: 47.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.3938, allocations: 259.9 kB / 0.5295 GB, free: 47.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.3977, allocations: 4.601 MB / 0.534 GB, free: 44.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.398, allocations: 56.39 kB / 0.534 GB, free: 44.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.3996, allocations: 4.49 MB / 0.5384 GB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007608/0.4003, allocations: 0.904 MB / 0.5393 GB, free: 40.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/0.4016, allocations: 1.672 MB / 0.5409 GB, free: 39.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.4016, allocations: 476.8 kB / 0.5414 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.4029, allocations: 0.7833 MB / 0.5422 GB, free: 38.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/0.4056, allocations: 7.655 MB / 0.5496 GB, free: 28.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/0.4109, allocations: 9.074 MB / 0.5585 GB, free: 16.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/0.411, allocations: 44 kB / 0.5585 GB, free: 16.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=992) (initialization): time 0.00866/0.4196, allocations: 6.4 MB / 0.5648 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.4197, allocations: 72 kB / 0.5649 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/0.4199, allocations: 167.8 kB / 0.565 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.4217, allocations: 0.6691 MB / 0.5657 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.4249, allocations: 1.69 MB / 0.5673 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.4284, allocations: 4.831 MB / 0.572 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/0.4333, allocations: 343.4 kB / 0.5724 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.4337, allocations: 384 kB / 0.5727 GB, free: 2.855 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 {(3,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.4352, allocations: 0.7782 MB / 0.5735 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.4357, allocations: 0.4971 MB / 0.574 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.438, allocations: 1.732 MB / 0.5757 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4381, allocations: 23.05 kB / 0.5757 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4381, allocations: 11.25 kB / 0.5757 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.4381, allocations: 11.97 kB / 0.5757 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009235/0.4473, allocations: 7.268 MB / 0.5828 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4473, allocations: 12.19 kB / 0.5828 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.4481, allocations: 307.5 kB / 0.5831 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.4494, allocations: 461.7 kB / 0.5835 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.4495, allocations: 48 kB / 0.5836 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.4529, allocations: 4.48 MB / 0.588 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.4529, allocations: 12.75 kB / 0.588 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/0.4564, allocations: 3.138 MB / 0.591 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.4569, allocations: 455.6 kB / 0.5915 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.4573, allocations: 47.98 kB / 0.5915 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.4581, allocations: 55.98 kB / 0.5916 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.4583, allocations: 152.8 kB / 0.5917 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.4584, allocations: 55.98 kB / 0.5918 GB, free: 15.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00159/0.46, allocations: 1.879 MB / 0.5936 GB, free: 13.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.46, allocations: 0 / 0.5936 GB, free: 13.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0037/0.4637, allocations: 1.453 MB / 0.595 GB, free: 12.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (176): * Single equations (assignments): 171 * 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 {(3,7,88.9%), (3,7,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/0.4641, allocations: 213.4 kB / 0.5952 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00394/0.468, allocations: 3.752 MB / 0.5989 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.468, allocations: 0 / 0.5989 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.4691, allocations: 1.107 MB / 0.6 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.471, allocations: 0.6 MB / 0.6006 GB, free: 6.887 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.4826, allocations: 10.5 MB / 0.6108 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.484, allocations: 1.659 MB / 0.6124 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001381/0.4853, allocations: 0.6293 MB / 0.6131 GB, free: 9.879 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.4864, allocations: 0.7792 MB / 0.6138 GB, free: 9.098 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4864, allocations: 0 / 0.6138 GB, free: 9.098 MB / 458.7 MB Notification: Performance of Templates: time 0.06704/0.5535, allocations: 49.22 MB / 0.6619 GB, free: 8.477 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.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.842338738031685]