Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001262/0.001262, allocations: 111.9 kB / 19.17 MB, free: 3.91 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.001432/0.001432, allocations: 208.9 kB / 22.13 MB, free: 0.9609 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.575/1.575, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2477/0.2477, allocations: 46.89 MB / 358.1 MB, free: 10.52 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-beta.om/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.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 87.86 kB / 0.4924 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1609, allocations: 65.99 MB / 0.5568 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01423/0.1751, allocations: 11.43 MB / 0.568 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006954/0.182, allocations: 2.85 MB / 0.5707 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.1836, allocations: 59.88 kB / 0.5708 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.1864, allocations: 1.358 MB / 0.5721 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.1896, allocations: 1.265 MB / 0.5734 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1899, allocations: 87.84 kB / 0.5734 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.1937, allocations: 2.76 MB / 0.5761 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.1959, allocations: 1.554 MB / 0.5777 GB, free: 472 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.1976, allocations: 1.055 MB / 0.5787 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.2001, allocations: 1.639 MB / 0.5803 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005044/0.2006, allocations: 208 kB / 0.5805 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2018, allocations: 0.4993 MB / 0.581 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.2034, allocations: 1.468 MB / 0.5824 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.2053, allocations: 1.715 MB / 0.5841 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006998/0.2123, allocations: 5.518 MB / 0.5895 GB, free: 4.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2123, allocations: 3.938 kB / 0.5895 GB, free: 4.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2123, allocations: 0 / 0.5895 GB, free: 4.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001677/0.2125, allocations: 0 / 0.5895 GB, free: 4.309 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.006851/0.2193, allocations: 3.739 MB / 0.5931 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.2194, allocations: 8.031 kB / 0.5931 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3845/0.6039, allocations: 2.994 MB / 0.5961 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.6084, allocations: 1.563 MB / 0.5976 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.6087, allocations: 173.5 kB / 0.5977 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008323/0.6095, allocations: 225.5 kB / 0.598 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.6274, allocations: 9.703 MB / 0.6074 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/0.6274, allocations: 21.16 kB / 0.6075 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.6278, allocations: 115.6 kB / 0.6076 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004331/0.6321, allocations: 2.433 MB / 0.6099 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.649, allocations: 8.816 MB / 0.6186 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03987/0.6889, allocations: 30.61 MB / 0.6484 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005772/0.6946, allocations: 3.175 MB / 0.6515 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.696, allocations: 0.8542 MB / 0.6524 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.93e-05/0.6961, allocations: 17.02 kB / 0.6524 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.6961, allocations: 47.56 kB / 0.6524 GB, free: 6.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.908e-06/0.6961, allocations: 4 kB / 0.6524 GB, free: 6.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=148): time 0.007948/0.7041, allocations: 3.379 MB / 0.6557 GB, free: 2.949 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.7041, allocations: 60.41 kB / 0.6558 GB, free: 2.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.7094, allocations: 3.12 MB / 0.6589 GB, free: 15.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.7096, allocations: 45.69 kB / 0.6589 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/0.7123, allocations: 2.791 MB / 0.6616 GB, free: 12.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008404/0.7131, allocations: 0.5892 MB / 0.6622 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.7144, allocations: 0.9806 MB / 0.6632 GB, free: 11.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7146, allocations: 309.1 kB / 0.6634 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/0.7172, allocations: 1.524 MB / 0.6649 GB, free: 9.492 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005391/0.7226, allocations: 4.459 MB / 0.6693 GB, free: 3.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008738/0.7313, allocations: 6.541 MB / 0.6757 GB, free: 11.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-05/0.7314, allocations: 35.83 kB / 0.6757 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01119/0.7426, allocations: 5.841 MB / 0.6814 GB, free: 5.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.588e-05/0.7426, allocations: 48 kB / 0.6815 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.7428, allocations: 104 kB / 0.6816 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.7429, allocations: 140 kB / 0.6817 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.746, allocations: 1.057 MB / 0.6827 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002822/0.7463, allocations: 203.8 kB / 0.6829 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.7494, allocations: 0.6998 MB / 0.6836 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004963/0.7499, allocations: 292 kB / 0.6839 GB, free: 3.172 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003672/0.7536, allocations: 1.95 MB / 0.6858 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/0.7542, allocations: 270.1 kB / 0.686 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.755, allocations: 331.8 kB / 0.6864 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/0.755, allocations: 20 kB / 0.6864 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.7551, allocations: 0 / 0.6864 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.7551, allocations: 3.984 kB / 0.6864 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.7675, allocations: 6.87 MB / 0.6931 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.7675, allocations: 8 kB / 0.6931 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.7683, allocations: 183.8 kB / 0.6933 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.7683, allocations: 12 kB / 0.6933 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.7684, allocations: 31.97 kB / 0.6933 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.7684, allocations: 8 kB / 0.6933 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.7684, allocations: 11.94 kB / 0.6933 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.7718, allocations: 2.269 MB / 0.6956 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.7726, allocations: 363.4 kB / 0.6959 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.7729, allocations: 31.98 kB / 0.6959 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.7736, allocations: 43.95 kB / 0.696 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.7738, allocations: 80.38 kB / 0.696 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.7739, allocations: 50.31 kB / 0.6961 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003765/0.7776, allocations: 1.984 MB / 0.698 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7776, allocations: 3.938 kB / 0.698 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005004/0.7826, allocations: 1.009 MB / 0.699 GB, free: 3.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004061/0.783, allocations: 146.9 kB / 0.6992 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007042/0.7901, allocations: 3.43 MB / 0.7025 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.7901, allocations: 0 / 0.7025 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.7915, allocations: 0.8676 MB / 0.7034 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.7934, allocations: 334 kB / 0.7037 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.809, allocations: 8.164 MB / 0.7117 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003762/0.8127, allocations: 3.023 MB / 0.7146 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/0.8137, allocations: 227.4 kB / 0.7148 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of SimCode: time 2.214e-06/0.8137, allocations: 0 / 0.7148 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of Templates: time 0.08649/0.9001, allocations: 46.75 MB / 0.7605 GB, free: 4.406 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.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: 12.922114151995629]