Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.001875/0.001875, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002279/0.002279, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.95 MB / 360.8 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 79.81 kB / 0.4961 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3479, allocations: 66.09 MB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005924/0.3539, allocations: 3.753 MB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3568, allocations: 1.145 MB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.3574, allocations: 19.81 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.3578, allocations: 107 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008901/0.3587, allocations: 206.1 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.3597, allocations: 223.6 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.361, allocations: 0.7978 MB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.3614, allocations: 169.8 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006932/0.3621, allocations: 322.9 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.3625, allocations: 318.3 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3627, allocations: 56 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.3629, allocations: 91.98 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.363, allocations: 151.4 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.3634, allocations: 290.6 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009954/0.3644, allocations: 0.7973 MB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3644, allocations: 0 / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3644, allocations: 4 kB / 0.5689 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3644, allocations: 0 / 0.5689 GB, free: 11.62 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.002079/0.3664, allocations: 0.9525 MB / 0.5698 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3665, allocations: 12.03 kB / 0.5698 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3666, allocations: 102.7 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.3673, allocations: 152.3 kB / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.368, allocations: 364.1 kB / 0.5704 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.368, allocations: 41.69 kB / 0.5705 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3682, allocations: 76.06 kB / 0.5705 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3694, allocations: 0.6155 MB / 0.5711 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.3694, allocations: 7.953 kB / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.3695, allocations: 24 kB / 0.5712 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3695, allocations: 16 kB / 0.5712 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3706, allocations: 0.5112 MB / 0.5717 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.3741, allocations: 1.988 MB / 0.5736 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.3754, allocations: 0.6564 MB / 0.5743 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.376, allocations: 319.2 kB / 0.5746 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.3761, allocations: 16.44 kB / 0.5746 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.3762, allocations: 50.92 kB / 0.5746 GB, free: 5.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.996e-06/0.3762, allocations: 0 / 0.5746 GB, free: 5.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008355/0.3845, allocations: 3.951 MB / 0.5785 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.3847, allocations: 222.2 kB / 0.5787 GB, free: 1.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.3852, allocations: 397.8 kB / 0.5791 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.3853, allocations: 45.7 kB / 0.5791 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.3855, allocations: 285.5 kB / 0.5794 GB, free: 300 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.386, allocations: 432.5 kB / 0.5798 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3862, allocations: 171 kB / 0.58 GB, free: 15.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3864, allocations: 386.8 kB / 0.5803 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.3871, allocations: 310.4 kB / 0.5806 GB, free: 15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.3879, allocations: 0.4926 MB / 0.5811 GB, free: 14.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3895, allocations: 0.8583 MB / 0.582 GB, free: 13.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3895, allocations: 4 kB / 0.582 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001987/0.3915, allocations: 0.9963 MB / 0.5829 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.3915, allocations: 11.98 kB / 0.5829 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3915, allocations: 7.984 kB / 0.583 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.3916, allocations: 12 kB / 0.583 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3926, allocations: 275.6 kB / 0.5832 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.3926, allocations: 16.17 kB / 0.5832 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.393, allocations: 48.11 kB / 0.5833 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/0.3931, allocations: 47.97 kB / 0.5833 GB, free: 12.1 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.0003846/0.3935, allocations: 233.5 kB / 0.5836 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3937, allocations: 75.53 kB / 0.5836 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.3942, allocations: 223 kB / 0.5838 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3943, allocations: 16 kB / 0.5839 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.3943, allocations: 4 kB / 0.5839 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.3943, allocations: 7.969 kB / 0.5839 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.3982, allocations: 2.145 MB / 0.586 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.3982, allocations: 11.92 kB / 0.586 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.3992, allocations: 243.7 kB / 0.5862 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.3992, allocations: 8 kB / 0.5862 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.3993, allocations: 28 kB / 0.5862 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-05/0.3993, allocations: 11.98 kB / 0.5863 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3993, allocations: 7.938 kB / 0.5863 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.402, allocations: 1.879 MB / 0.5881 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.4023, allocations: 131.3 kB / 0.5882 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.4024, allocations: 24 kB / 0.5882 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.403, allocations: 47.97 kB / 0.5883 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4032, allocations: 88.38 kB / 0.5884 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/0.4032, allocations: 39.98 kB / 0.5884 GB, free: 6.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003174/0.4036, allocations: 267.1 kB / 0.5887 GB, free: 6.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4036, allocations: 0 / 0.5887 GB, free: 6.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008683/0.4044, allocations: 196.1 kB / 0.5889 GB, free: 6.305 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.003199/0.4076, allocations: 2.462 MB / 0.5913 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.4093, allocations: 0.8002 MB / 0.592 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4093, allocations: 0 / 0.592 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.4102, allocations: 469 kB / 0.5925 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4115, allocations: 152.5 kB / 0.5926 GB, free: 2.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.4223, allocations: 7.279 MB / 0.5997 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4227, allocations: 357.1 kB / 0.6001 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000464/0.4232, allocations: 113.9 kB / 0.6002 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.4236, allocations: 271.3 kB / 0.6004 GB, free: 10.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4236, allocations: 0 / 0.6004 GB, free: 10.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.4734, allocations: 15.15 MB / 0.6152 GB, free: 11.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.82, allocations: 8.062 kB / 0.6152 GB, free: 11.1 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 14.971656977199018]