Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.00184/0.00184, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002339/0.002339, allocations: 202.2 kB / 24.52 MB, free: 4.156 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.92 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.91 kB / 0.4938 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3058, allocations: 65.47 MB / 0.5578 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01364/0.3194, allocations: 11.45 MB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006052/0.3255, allocations: 2.87 MB / 0.5718 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009519/0.3264, allocations: 59.81 kB / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.329, allocations: 1.358 MB / 0.5732 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.3314, allocations: 1.284 MB / 0.5744 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.3316, allocations: 79.78 kB / 0.5745 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.3347, allocations: 2.764 MB / 0.5772 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.3366, allocations: 1.615 MB / 0.5788 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.3379, allocations: 1.082 MB / 0.5798 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.3399, allocations: 1.643 MB / 0.5814 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003648/0.3403, allocations: 208 kB / 0.5816 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009652/0.3412, allocations: 0.4993 MB / 0.5821 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.3426, allocations: 1.464 MB / 0.5835 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.3441, allocations: 1.719 MB / 0.5852 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.3498, allocations: 5.522 MB / 0.5906 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3498, allocations: 0 / 0.5906 GB, free: 6.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3498, allocations: 0 / 0.5906 GB, free: 6.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.714e-05/0.3499, allocations: 4 kB / 0.5906 GB, free: 6.152 MB / 430.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.005336/0.3552, allocations: 3.667 MB / 0.5942 GB, free: 2.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3553, allocations: 8.031 kB / 0.5942 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.799e-05/0.3554, allocations: 88.64 kB / 0.5943 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007917/0.3562, allocations: 0.6835 MB / 0.595 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.3667, allocations: 3.001 MB / 0.5979 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.3699, allocations: 1.496 MB / 0.5993 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.37, allocations: 176.4 kB / 0.5995 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/0.3708, allocations: 223.8 kB / 0.5997 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.3927, allocations: 9.694 MB / 0.6092 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-05/0.3928, allocations: 19.81 kB / 0.6092 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005366/0.3934, allocations: 123.8 kB / 0.6093 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006085/0.3995, allocations: 2.428 MB / 0.6117 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/0.4221, allocations: 8.812 MB / 0.6203 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0642/0.4863, allocations: 30.51 MB / 0.6501 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007569/0.4939, allocations: 2.268 MB / 0.6523 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.4957, allocations: 0.8555 MB / 0.6532 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.4958, allocations: 12.98 kB / 0.6532 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.4959, allocations: 51.5 kB / 0.6532 GB, free: 4.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 5.36e-06/0.4959, allocations: 4 kB / 0.6532 GB, free: 4.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.0122/0.5081, allocations: 3.387 MB / 0.6565 GB, free: 1.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.5082, allocations: 60.41 kB / 0.6566 GB, free: 1.156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009364/0.5175, allocations: 3.12 MB / 0.6596 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003951/0.5179, allocations: 41.7 kB / 0.6597 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004132/0.5221, allocations: 2.79 MB / 0.6624 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.5233, allocations: 0.5892 MB / 0.663 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003336/0.5266, allocations: 0.9845 MB / 0.6639 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002707/0.5269, allocations: 301.1 kB / 0.6642 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003787/0.5307, allocations: 1.532 MB / 0.6657 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0077/0.5384, allocations: 4.455 MB / 0.6701 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/0.5513, allocations: 6.535 MB / 0.6765 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/0.5514, allocations: 32 kB / 0.6765 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01676/0.5682, allocations: 5.837 MB / 0.6822 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.5684, allocations: 48 kB / 0.6822 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/0.5686, allocations: 104 kB / 0.6823 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.5689, allocations: 139.9 kB / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/0.5739, allocations: 1.057 MB / 0.6835 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003468/0.5743, allocations: 207.2 kB / 0.6837 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/0.5796, allocations: 0.7056 MB / 0.6844 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.5807, allocations: 292 kB / 0.6847 GB, free: 1.41 MB / 0.5137 GB 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.004894/0.5856, allocations: 1.942 MB / 0.6866 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/0.5863, allocations: 270.1 kB / 0.6868 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.5875, allocations: 339.7 kB / 0.6871 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/0.5876, allocations: 23.92 kB / 0.6872 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.5876, allocations: 0 / 0.6872 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.5876, allocations: 3.984 kB / 0.6872 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/0.6063, allocations: 6.85 MB / 0.6939 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.6063, allocations: 8.125 kB / 0.6939 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.6075, allocations: 175.7 kB / 0.694 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.443e-05/0.6075, allocations: 15.94 kB / 0.694 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.6077, allocations: 35.97 kB / 0.6941 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-05/0.6077, allocations: 8 kB / 0.6941 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.109e-05/0.6077, allocations: 11.94 kB / 0.6941 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.6121, allocations: 2.273 MB / 0.6963 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.6131, allocations: 285.8 kB / 0.6966 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007603/0.6139, allocations: 31.94 kB / 0.6966 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.6154, allocations: 47.94 kB / 0.6967 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.6156, allocations: 80.41 kB / 0.6967 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.6158, allocations: 56.06 kB / 0.6968 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005356/0.6212, allocations: 1.979 MB / 0.6987 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6212, allocations: 3.938 kB / 0.6987 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006179/0.6273, allocations: 1.005 MB / 0.6997 GB, free: 1.711 MB / 0.5294 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.005227/0.6326, allocations: 2.915 MB / 0.7026 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007899/0.6405, allocations: 3.426 MB / 0.7059 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/0.6405, allocations: 8.125 kB / 0.7059 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.6422, allocations: 0.8565 MB / 0.7067 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.6446, allocations: 321.3 kB / 0.7071 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.305/0.9495, allocations: 33.51 MB / 0.7398 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/0.9523, allocations: 3.009 MB / 0.7427 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003252/0.9556, allocations: 1.722 MB / 0.7444 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/0.9571, allocations: 1.544 MB / 0.7459 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/0.9571, allocations: 0 / 0.7459 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07213/1.029, allocations: 49.95 MB / 0.7947 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/20.45, allocations: 8.047 kB / 0.7947 GB, free: 101.4 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 24.156361376983114]