Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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.001778/0.001778, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002263/0.002263, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2197/0.2197, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",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.00205/0.00205, allocations: 71.91 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005507/0.3268, allocations: 3.755 MB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3291, allocations: 1.145 MB / 0.5625 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.3294, allocations: 19.88 kB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.3296, allocations: 102.9 kB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.33, allocations: 206.1 kB / 0.5628 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.3306, allocations: 231.6 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008862/0.3315, allocations: 0.7978 MB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.3318, allocations: 169.9 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.3323, allocations: 330.8 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.3327, allocations: 346.4 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.463e-05/0.3328, allocations: 60 kB / 0.5647 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.333, allocations: 91.94 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3332, allocations: 143.5 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.3335, allocations: 298.6 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.3344, allocations: 0.7935 MB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3344, allocations: 4 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3344, allocations: 3.938 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3344, allocations: 0 / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001885/0.3363, allocations: 0.9525 MB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3363, allocations: 12.03 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.651e-05/0.3364, allocations: 21.5 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.3365, allocations: 102.7 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.3372, allocations: 144.3 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.3378, allocations: 372.1 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.3378, allocations: 41.69 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3379, allocations: 71.89 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3391, allocations: 0.6077 MB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.3392, allocations: 11.94 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.3392, allocations: 28 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.3392, allocations: 16 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3403, allocations: 0.5113 MB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.3436, allocations: 1.988 MB / 0.5707 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3449, allocations: 0.6499 MB / 0.5713 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.3455, allocations: 322.4 kB / 0.5717 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3456, allocations: 24.41 kB / 0.5717 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.3457, allocations: 46.94 kB / 0.5717 GB, free: 8.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.3457, allocations: 0 / 0.5717 GB, free: 8.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008114/0.3538, allocations: 3.945 MB / 0.5756 GB, free: 4.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.3539, allocations: 222.3 kB / 0.5758 GB, free: 4.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.3544, allocations: 393.8 kB / 0.5762 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.3544, allocations: 41.7 kB / 0.5762 GB, free: 3.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3546, allocations: 289.5 kB / 0.5765 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.355, allocations: 436.2 kB / 0.5769 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.3552, allocations: 178.9 kB / 0.5771 GB, free: 3.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.3554, allocations: 382.8 kB / 0.5774 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.3561, allocations: 314.5 kB / 0.5777 GB, free: 2.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008018/0.3569, allocations: 0.4965 MB / 0.5782 GB, free: 1.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3584, allocations: 0.8547 MB / 0.579 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3584, allocations: 4 kB / 0.5791 GB, free: 0.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001794/0.3602, allocations: 1.004 MB / 0.58 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3602, allocations: 8 kB / 0.58 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3602, allocations: 4 kB / 0.58 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.3602, allocations: 12 kB / 0.5801 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3613, allocations: 275.6 kB / 0.5803 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/0.3613, allocations: 12.34 kB / 0.5803 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.3617, allocations: 51.97 kB / 0.5804 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/0.3618, allocations: 40 kB / 0.5804 GB, free: 15.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * 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.0003285/0.3621, allocations: 241.4 kB / 0.5806 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.3624, allocations: 79.53 kB / 0.5807 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.3628, allocations: 227.1 kB / 0.5809 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3629, allocations: 12 kB / 0.581 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3629, allocations: 0 / 0.581 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.3629, allocations: 15.97 kB / 0.581 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.3667, allocations: 2.141 MB / 0.5831 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.3667, allocations: 7.938 kB / 0.5831 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.3678, allocations: 251.7 kB / 0.5833 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.3678, allocations: 8 kB / 0.5833 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.3679, allocations: 27.92 kB / 0.5833 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.3679, allocations: 8 kB / 0.5833 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3679, allocations: 8.219 kB / 0.5834 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.3706, allocations: 1.88 MB / 0.5852 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.3709, allocations: 127.4 kB / 0.5853 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.371, allocations: 35.98 kB / 0.5853 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.3717, allocations: 35.98 kB / 0.5854 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.3718, allocations: 92.38 kB / 0.5855 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.3719, allocations: 35.98 kB / 0.5855 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.3722, allocations: 267.1 kB / 0.5858 GB, free: 9.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3722, allocations: 0 / 0.5858 GB, free: 9.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.3731, allocations: 196 kB / 0.5859 GB, free: 9.715 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * 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.003204/0.3763, allocations: 2.472 MB / 0.5884 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.378, allocations: 0.7884 MB / 0.5891 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.378, allocations: 0.875 kB / 0.5891 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.3789, allocations: 463.4 kB / 0.5896 GB, free: 5.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.3802, allocations: 147.6 kB / 0.5897 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.392, allocations: 7.294 MB / 0.5968 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.3925, allocations: 365.1 kB / 0.5972 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004265/0.3929, allocations: 98 kB / 0.5973 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.3933, allocations: 271.3 kB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3933, allocations: 0 / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.4362, allocations: 15.11 MB / 0.6123 GB, free: 14.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.15, allocations: 0 / 0.6123 GB, free: 14.62 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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: 16.55573157395702]