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.001458/0.001458, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001609/0.001609, allocations: 217 kB / 24.5 MB, free: 4.133 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.343/1.343, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.2094/0.2094, allocations: 46.94 MB / 361.5 MB, free: 4.184 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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 79.88 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2697, allocations: 66.08 MB / 0.5619 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00537/0.275, allocations: 4.198 MB / 0.566 GB, free: 48 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.2771, allocations: 1.196 MB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.2774, allocations: 23.81 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.2776, allocations: 98.95 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.278, allocations: 206.1 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.2785, allocations: 231.6 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.2794, allocations: 0.7977 MB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.2797, allocations: 174.7 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.2801, allocations: 326.8 kB / 0.569 GB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2805, allocations: 346.5 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.2806, allocations: 56 kB / 0.5694 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.2808, allocations: 91.98 kB / 0.5695 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.2809, allocations: 151.4 kB / 0.5696 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.2813, allocations: 362.1 kB / 0.57 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.2821, allocations: 0.7854 MB / 0.5707 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2821, allocations: 0 / 0.5707 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2821, allocations: 0 / 0.5707 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2821, allocations: 0 / 0.5707 GB, free: 11.23 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.001789/0.2839, allocations: 0.9525 MB / 0.5717 GB, free: 10.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.284, allocations: 12.03 kB / 0.5717 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.2846, allocations: 148.3 kB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.2851, allocations: 368.1 kB / 0.5722 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.2852, allocations: 37.69 kB / 0.5722 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.2853, allocations: 72.31 kB / 0.5723 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.2863, allocations: 0.6271 MB / 0.5729 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.2864, allocations: 11.94 kB / 0.5729 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.2864, allocations: 24 kB / 0.5729 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2864, allocations: 16 kB / 0.5729 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2875, allocations: 0.5134 MB / 0.5734 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.2905, allocations: 2.109 MB / 0.5755 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.2917, allocations: 0.6564 MB / 0.5761 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.2922, allocations: 319.2 kB / 0.5764 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.951e-05/0.2923, allocations: 28.66 kB / 0.5765 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2923, allocations: 39 kB / 0.5765 GB, free: 5.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.647e-06/0.2924, allocations: 4 kB / 0.5765 GB, free: 5.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.007329/0.2997, allocations: 3.944 MB / 0.5804 GB, free: 0.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.2998, allocations: 222.2 kB / 0.5806 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.3002, allocations: 389.9 kB / 0.5809 GB, free: 228 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.3003, allocations: 45.7 kB / 0.581 GB, free: 176 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3005, allocations: 289.5 kB / 0.5813 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.3008, allocations: 432.2 kB / 0.5817 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.3011, allocations: 179 kB / 0.5818 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3013, allocations: 382.8 kB / 0.5822 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.3019, allocations: 310.4 kB / 0.5825 GB, free: 14.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.3026, allocations: 0.4965 MB / 0.583 GB, free: 14.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.304, allocations: 0.8579 MB / 0.5838 GB, free: 13.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.304, allocations: 4 kB / 0.5838 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001679/0.3057, allocations: 0.9896 MB / 0.5848 GB, free: 12.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3057, allocations: 11.98 kB / 0.5848 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3058, allocations: 4.438 kB / 0.5848 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.3058, allocations: 16 kB / 0.5848 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.3067, allocations: 275.6 kB / 0.5851 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.3068, allocations: 15.94 kB / 0.5851 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.3071, allocations: 43.98 kB / 0.5851 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.3072, allocations: 40.27 kB / 0.5852 GB, free: 11.7 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.0002979/0.3075, allocations: 230.8 kB / 0.5854 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3077, allocations: 87.47 kB / 0.5855 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.3082, allocations: 239.1 kB / 0.5857 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3082, allocations: 12 kB / 0.5857 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3082, allocations: 0 / 0.5857 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.3082, allocations: 12.11 kB / 0.5857 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/0.3117, allocations: 2.292 MB / 0.588 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3117, allocations: 4 kB / 0.588 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.3127, allocations: 244 kB / 0.5882 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.3127, allocations: 15.94 kB / 0.5882 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.3128, allocations: 31.98 kB / 0.5883 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.3128, allocations: 8 kB / 0.5883 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.3128, allocations: 7.938 kB / 0.5883 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.3152, allocations: 1.882 MB / 0.5901 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3155, allocations: 127.4 kB / 0.5902 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.3156, allocations: 35.98 kB / 0.5903 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.3161, allocations: 31.98 kB / 0.5903 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.3163, allocations: 92.38 kB / 0.5904 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.3163, allocations: 35.98 kB / 0.5904 GB, free: 6.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.3166, allocations: 271.1 kB / 0.5907 GB, free: 5.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3166, allocations: 0 / 0.5907 GB, free: 5.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007839/0.3174, allocations: 192 kB / 0.5909 GB, free: 5.73 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.0001747/0.3176, allocations: 135.3 kB / 0.591 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.3191, allocations: 0.8002 MB / 0.5918 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3191, allocations: 4 kB / 0.5918 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.3199, allocations: 472.5 kB / 0.5922 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.321, allocations: 141.1 kB / 0.5924 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.3245, allocations: 2.258 MB / 0.5946 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.3251, allocations: 0.9557 MB / 0.5955 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3254, allocations: 79.34 kB / 0.5956 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3254, allocations: 0 / 0.5956 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of Templates: time 0.01313/0.3385, allocations: 9.274 MB / 0.6046 GB, free: 7.516 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] 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: 7.59238558402285]