Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 114.6 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 191.7 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3635/0.3635, allocations: 44.22 MB / 326.5 MB, free: 6.852 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 75.89 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2861, allocations: 60.99 MB / 0.5109 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004514/0.2906, allocations: 4.127 MB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.293, allocations: 1.111 MB / 0.516 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.2935, allocations: 17.25 kB / 0.516 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.2938, allocations: 99.64 kB / 0.5161 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.2942, allocations: 198.8 kB / 0.5163 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.2948, allocations: 198.1 kB / 0.5165 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.2955, allocations: 0.7807 MB / 0.5172 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.2958, allocations: 178.9 kB / 0.5174 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.2962, allocations: 313 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.2965, allocations: 333.9 kB / 0.518 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.2966, allocations: 60 kB / 0.5181 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2967, allocations: 83.98 kB / 0.5182 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.2968, allocations: 147.5 kB / 0.5183 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.297, allocations: 358.1 kB / 0.5187 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006426/0.2977, allocations: 0.7728 MB / 0.5194 GB, free: 6.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2977, allocations: 0 / 0.5194 GB, free: 6.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2977, allocations: 0 / 0.5194 GB, free: 6.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.2977, allocations: 0 / 0.5194 GB, free: 6.254 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001689/0.2994, allocations: 1.012 MB / 0.5204 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2994, allocations: 11.89 kB / 0.5204 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.771e-05/0.2995, allocations: 106.6 kB / 0.5205 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.702e-05/0.2996, allocations: 76.47 kB / 0.5206 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.3, allocations: 406.1 kB / 0.521 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.3001, allocations: 41.69 kB / 0.521 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.3001, allocations: 64.33 kB / 0.5211 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.3011, allocations: 0.6266 MB / 0.5217 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.3011, allocations: 11.95 kB / 0.5217 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.3011, allocations: 27.98 kB / 0.5217 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3011, allocations: 16 kB / 0.5217 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.3021, allocations: 0.5255 MB / 0.5223 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.3047, allocations: 2.154 MB / 0.5244 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3057, allocations: 0.6757 MB / 0.525 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.3063, allocations: 315.2 kB / 0.5253 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.3064, allocations: 105.5 kB / 0.5254 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.3065, allocations: 43.25 kB / 0.5255 GB, free: 15.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.325e-06/0.3065, allocations: 0 / 0.5255 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008768/0.3153, allocations: 4.535 MB / 0.5299 GB, free: 10.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.3154, allocations: 226.2 kB / 0.5301 GB, free: 10.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.3159, allocations: 365.9 kB / 0.5305 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.316, allocations: 41.7 kB / 0.5305 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.3162, allocations: 285.4 kB / 0.5308 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.3166, allocations: 428.3 kB / 0.5312 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.3169, allocations: 179 kB / 0.5313 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.3172, allocations: 382.8 kB / 0.5317 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.3179, allocations: 314.4 kB / 0.532 GB, free: 8.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.3188, allocations: 0.5082 MB / 0.5325 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.3204, allocations: 0.8569 MB / 0.5333 GB, free: 7.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3204, allocations: 8 kB / 0.5333 GB, free: 7.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002036/0.3224, allocations: 1.024 MB / 0.5343 GB, free: 6.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.3224, allocations: 4 kB / 0.5344 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.3224, allocations: 15.88 kB / 0.5344 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.3225, allocations: 8 kB / 0.5344 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.3236, allocations: 279.6 kB / 0.5346 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/0.3236, allocations: 12.36 kB / 0.5347 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.3241, allocations: 55.97 kB / 0.5347 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.3242, allocations: 40 kB / 0.5347 GB, free: 5.613 MB / 398.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 (144): * Single equations (assignments): 144 * 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.0003916/0.3246, allocations: 221.6 kB / 0.535 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.3248, allocations: 83.5 kB / 0.535 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.3253, allocations: 214.9 kB / 0.5352 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3253, allocations: 19.94 kB / 0.5353 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/0.3254, allocations: 4 kB / 0.5353 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.3254, allocations: 7.969 kB / 0.5353 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/0.3295, allocations: 2.326 MB / 0.5375 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.3295, allocations: 4 kB / 0.5375 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.3306, allocations: 251.7 kB / 0.5378 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/0.3306, allocations: 12 kB / 0.5378 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.3307, allocations: 31.98 kB / 0.5378 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.3307, allocations: 8.281 kB / 0.5378 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.3307, allocations: 11.94 kB / 0.5378 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.3336, allocations: 1.898 MB / 0.5397 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.334, allocations: 200.5 kB / 0.5399 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.3341, allocations: 31.94 kB / 0.5399 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.3347, allocations: 47.97 kB / 0.54 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.3349, allocations: 84.33 kB / 0.54 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.84e-05/0.335, allocations: 39.92 kB / 0.5401 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.3353, allocations: 247.2 kB / 0.5403 GB, free: 15.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3353, allocations: 4 kB / 0.5403 GB, free: 15.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009896/0.3363, allocations: 200.1 kB / 0.5405 GB, free: 15.52 MB / 414.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 (115): * Single equations (assignments): 115 * 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.003158/0.3394, allocations: 2.485 MB / 0.5429 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.3412, allocations: 0.8159 MB / 0.5437 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3412, allocations: 4 kB / 0.5437 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008791/0.3421, allocations: 463.9 kB / 0.5442 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.3433, allocations: 133.3 kB / 0.5443 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.3545, allocations: 7.239 MB / 0.5514 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.3552, allocations: 0.9478 MB / 0.5523 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.3556, allocations: 101.7 kB / 0.5524 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.356, allocations: 271.3 kB / 0.5527 GB, free: 2.699 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.356, allocations: 0 / 0.5527 GB, free: 2.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.402, allocations: 13.94 MB / 0.5663 GB, free: 4.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.686/10.09, allocations: 13.44 kB / 0.5663 GB, free: 4.73 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.345261001959443]