Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.001759/0.001759, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.002347/0.002347, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2375/0.2375, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 55.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3323, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01525/0.3475, allocations: 12.02 MB / 0.5736 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008974/0.3565, allocations: 4.201 MB / 0.5777 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.3582, allocations: 99.5 kB / 0.5778 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004544/0.3628, allocations: 2.32 MB / 0.58 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.3689, allocations: 1.88 MB / 0.5819 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.3715, allocations: 0.8769 MB / 0.5827 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006617/0.3781, allocations: 3.975 MB / 0.5866 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004693/0.3828, allocations: 2.791 MB / 0.5893 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.386, allocations: 1.507 MB / 0.5908 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/0.3904, allocations: 2.219 MB / 0.593 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.3914, allocations: 324 kB / 0.5933 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.394, allocations: 1.065 MB / 0.5943 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.3967, allocations: 1.924 MB / 0.5962 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002748/0.3995, allocations: 1.623 MB / 0.5978 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.4098, allocations: 7.478 MB / 0.6051 GB, free: 7.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4098, allocations: 3.938 kB / 0.6051 GB, free: 7.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4098, allocations: 0 / 0.6051 GB, free: 7.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002351/0.4101, allocations: 0 / 0.6051 GB, free: 7.676 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1710 * Number of variables: 1710 Notification: Performance of Generate backend data structure: time 0.01354/0.4236, allocations: 5.163 MB / 0.6101 GB, free: 2.453 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4237, allocations: 12.03 kB / 0.6101 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.4355, allocations: 3.168 MB / 0.6132 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006611/0.4421, allocations: 2.16 MB / 0.6153 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.4423, allocations: 246.4 kB / 0.6156 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.4436, allocations: 319.9 kB / 0.6159 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.4633, allocations: 11.4 MB / 0.627 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.98e-05/0.4634, allocations: 23.77 kB / 0.627 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.4638, allocations: 147.8 kB / 0.6272 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.468, allocations: 2.523 MB / 0.6296 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.4889, allocations: 10.55 MB / 0.6399 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05659/0.5455, allocations: 33.05 MB / 0.6722 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/0.5535, allocations: 3.215 MB / 0.6754 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.5567, allocations: 1.972 MB / 0.6773 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000952/0.5576, allocations: 445.2 kB / 0.6777 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.5577, allocations: 52.56 kB / 0.6778 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=235): time 5.63e-06/0.5577, allocations: 0 / 0.6778 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=256): time 0.04312/0.6008, allocations: 13.55 MB / 0.691 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.6008, allocations: 73.41 kB / 0.6911 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005162/0.606, allocations: 2.945 MB / 0.6939 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004295/0.6064, allocations: 65.69 kB / 0.694 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002779/0.6092, allocations: 3.13 MB / 0.6971 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.6106, allocations: 0.9921 MB / 0.698 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0027/0.6133, allocations: 1.172 MB / 0.6992 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6135, allocations: 313 kB / 0.6995 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/0.6175, allocations: 2.35 MB / 0.7018 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007178/0.6246, allocations: 5.556 MB / 0.7072 GB, free: 12.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.6365, allocations: 8.67 MB / 0.7157 GB, free: 1.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.6366, allocations: 32 kB / 0.7157 GB, free: 1.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01793/0.6545, allocations: 8.61 MB / 0.7241 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.6547, allocations: 56.17 kB / 0.7241 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/0.6549, allocations: 116 kB / 0.7243 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/0.6587, allocations: 1.04 MB / 0.7253 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004801/0.6635, allocations: 1.337 MB / 0.7266 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.6672, allocations: 2.485 MB / 0.729 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/0.6717, allocations: 307.8 kB / 0.7293 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.6728, allocations: 344 kB / 0.7296 GB, free: 3.348 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (726): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005036/0.6778, allocations: 2.279 MB / 0.7319 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/0.6786, allocations: 298 kB / 0.7321 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.336/1.015, allocations: 4.963 MB / 0.737 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/1.015, allocations: 11.58 kB / 0.737 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.015, allocations: 0 / 0.737 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.015, allocations: 240.7 kB / 0.7372 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/1.016, allocations: 40.16 kB / 0.7373 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.017, allocations: 128.8 kB / 0.7374 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/1.017, allocations: 135.4 kB / 0.7375 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006058/1.023, allocations: 4.205 MB / 0.7416 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007114/1.03, allocations: 6.513 MB / 0.748 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001731/1.032, allocations: 1.641 MB / 0.7496 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002064/1.034, allocations: 1.666 MB / 0.7512 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of Backend: time 7.01e-07/1.034, allocations: 2.531 kB / 0.7512 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008302/1.042, allocations: 4.39 MB / 0.7555 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01397/1.056, allocations: 10.09 MB / 0.7654 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06792/1.124, allocations: 49.69 MB / 0.8139 GB, free: 83.48 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.419276261003688]