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.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.002003/0.002003, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001499/0.001499, allocations: 213.7 kB / 22.99 MB, free: 4.977 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.628/1.628, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2625/0.2625, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 74.55 kB / 467.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.118, allocations: 61.05 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005408/0.1234, allocations: 3.697 MB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1256, allocations: 1.076 MB / 0.5208 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.1259, allocations: 19.88 kB / 0.5208 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1262, allocations: 98.95 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.1266, allocations: 206.2 kB / 0.5211 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.1272, allocations: 195.6 kB / 0.5213 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008673/0.128, allocations: 0.7783 MB / 0.5221 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.1284, allocations: 160.1 kB / 0.5222 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.1288, allocations: 318.9 kB / 0.5225 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.1291, allocations: 306.5 kB / 0.5228 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-05/0.1292, allocations: 56 kB / 0.5229 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.1294, allocations: 91.98 kB / 0.523 GB, free: 176 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1296, allocations: 147.4 kB / 0.5231 GB, free: 28 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1299, allocations: 286.6 kB / 0.5234 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008729/0.1308, allocations: 0.7741 MB / 0.5241 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1308, allocations: 0 / 0.5241 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1308, allocations: 0 / 0.5241 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1308, allocations: 0 / 0.5241 GB, free: 14.97 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00193/0.1327, allocations: 0.9487 MB / 0.5251 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1327, allocations: 8.031 kB / 0.5251 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1329, allocations: 98.7 kB / 0.5252 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.133, allocations: 80.47 kB / 0.5252 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.1336, allocations: 344.2 kB / 0.5256 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.1336, allocations: 45.69 kB / 0.5256 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1337, allocations: 68.31 kB / 0.5257 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.1349, allocations: 0.6188 MB / 0.5263 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.1349, allocations: 15.95 kB / 0.5263 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.135, allocations: 20 kB / 0.5263 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.135, allocations: 12 kB / 0.5263 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1362, allocations: 0.5255 MB / 0.5268 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.1394, allocations: 1.979 MB / 0.5288 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.1407, allocations: 0.6839 MB / 0.5294 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.1414, allocations: 315.1 kB / 0.5297 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.1415, allocations: 24.38 kB / 0.5298 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1415, allocations: 47 kB / 0.5298 GB, free: 8.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.1415, allocations: 4 kB / 0.5298 GB, free: 8.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.008118/0.1496, allocations: 3.943 MB / 0.5337 GB, free: 4.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.1498, allocations: 230.2 kB / 0.5339 GB, free: 4.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.1502, allocations: 369.9 kB / 0.5342 GB, free: 4.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.1502, allocations: 45.7 kB / 0.5343 GB, free: 4.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.1505, allocations: 269.5 kB / 0.5345 GB, free: 3.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.1508, allocations: 428.3 kB / 0.5349 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.1511, allocations: 190.8 kB / 0.5351 GB, free: 3.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.1513, allocations: 378.8 kB / 0.5355 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.152, allocations: 314.4 kB / 0.5358 GB, free: 2.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008609/0.1529, allocations: 0.5082 MB / 0.5363 GB, free: 1.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.1545, allocations: 0.8628 MB / 0.5371 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1545, allocations: 4 kB / 0.5371 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.2206/0.3752, allocations: 1.01 MB / 0.5381 GB, free: 27.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.3752, allocations: 7.156 kB / 0.5381 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3752, allocations: 5.438 kB / 0.5381 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.227e-05/0.3753, allocations: 13.5 kB / 0.5381 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.3771, allocations: 281.1 kB / 0.5384 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/0.3771, allocations: 18.38 kB / 0.5384 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.3779, allocations: 52.89 kB / 0.5385 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.378, allocations: 40.5 kB / 0.5385 GB, free: 27.54 MB / 414.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.0004225/0.3784, allocations: 231 kB / 0.5387 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.3788, allocations: 80.12 kB / 0.5388 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.3794, allocations: 217.5 kB / 0.539 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.3794, allocations: 14.72 kB / 0.539 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.3794, allocations: 2.828 kB / 0.539 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.3794, allocations: 9.406 kB / 0.539 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/0.3847, allocations: 2.143 MB / 0.5411 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.3847, allocations: 3.719 kB / 0.5411 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.3864, allocations: 248.5 kB / 0.5414 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/0.3864, allocations: 8.094 kB / 0.5414 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.3865, allocations: 30.48 kB / 0.5414 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/0.3865, allocations: 7.906 kB / 0.5414 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.3865, allocations: 8.562 kB / 0.5414 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.3905, allocations: 1.908 MB / 0.5433 GB, free: 25.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.3911, allocations: 122.8 kB / 0.5434 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.3912, allocations: 27.14 kB / 0.5434 GB, free: 25.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.3922, allocations: 45.02 kB / 0.5435 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.3925, allocations: 89.41 kB / 0.5436 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.3926, allocations: 35.88 kB / 0.5436 GB, free: 25.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003966/0.393, allocations: 254.7 kB / 0.5438 GB, free: 25.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.393, allocations: 0 / 0.5438 GB, free: 25.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001594/0.3946, allocations: 195.1 kB / 0.544 GB, free: 25.71 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.003954/0.3985, allocations: 2.482 MB / 0.5464 GB, free: 24.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.4011, allocations: 0.8201 MB / 0.5472 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.4011, allocations: 1.031 kB / 0.5472 GB, free: 23.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.4024, allocations: 467.9 kB / 0.5477 GB, free: 23.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.4044, allocations: 135.2 kB / 0.5478 GB, free: 23.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.4212, allocations: 7.235 MB / 0.5549 GB, free: 19.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.422, allocations: 348.6 kB / 0.5552 GB, free: 19.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007886/0.4228, allocations: 103.4 kB / 0.5553 GB, free: 19.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.4233, allocations: 266.1 kB / 0.5556 GB, free: 18.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4233, allocations: 0 / 0.5556 GB, free: 18.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.4847, allocations: 14.73 MB / 0.57 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.31, allocations: 9.375 kB / 0.57 GB, free: 13.98 MB / 414.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.757789396680892]