Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001631/0.001631, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001866/0.001866, allocations: 204 kB / 25.13 MB, free: 3.578 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.493/1.493, allocations: 230.4 MB / 258.7 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2344/0.2344, allocations: 46.93 MB / 362 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003696/0.003696, allocations: 79.86 kB / 0.4978 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3278, allocations: 66.09 MB / 0.5623 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005691/0.3334, allocations: 4.169 MB / 0.5664 GB, free: 96 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.3358, allocations: 1.196 MB / 0.5676 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.3362, allocations: 19.88 kB / 0.5676 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.3364, allocations: 98.95 kB / 0.5677 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.3369, allocations: 214.1 kB / 0.5679 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.3375, allocations: 235.5 kB / 0.5681 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.3385, allocations: 0.7978 MB / 0.5689 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.3388, allocations: 166.8 kB / 0.569 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.3393, allocations: 330.8 kB / 0.5694 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.3398, allocations: 342.5 kB / 0.5697 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.3398, allocations: 60 kB / 0.5697 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3401, allocations: 91.98 kB / 0.5698 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3402, allocations: 147.4 kB / 0.57 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.3406, allocations: 358.2 kB / 0.5703 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.3415, allocations: 0.801 MB / 0.5711 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3415, allocations: 0 / 0.5711 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3415, allocations: 0 / 0.5711 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3415, allocations: 3.938 kB / 0.5711 GB, free: 11.26 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.001881/0.3434, allocations: 0.9526 MB / 0.572 GB, free: 10.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3434, allocations: 8.031 kB / 0.572 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006458/0.344, allocations: 148.3 kB / 0.5722 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.3447, allocations: 364.2 kB / 0.5725 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.3448, allocations: 45.69 kB / 0.5726 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3449, allocations: 72.31 kB / 0.5726 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.346, allocations: 0.6193 MB / 0.5732 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/0.3461, allocations: 7.953 kB / 0.5732 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.3461, allocations: 28 kB / 0.5733 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3462, allocations: 12 kB / 0.5733 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3473, allocations: 0.519 MB / 0.5738 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.3508, allocations: 2.101 MB / 0.5758 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.3521, allocations: 0.6565 MB / 0.5765 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.3527, allocations: 311.5 kB / 0.5768 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.3529, allocations: 32.34 kB / 0.5768 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3529, allocations: 43 kB / 0.5768 GB, free: 5.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.986e-06/0.3529, allocations: 3.938 kB / 0.5769 GB, free: 5.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008121/0.361, allocations: 3.947 MB / 0.5807 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.3612, allocations: 222.2 kB / 0.5809 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.3616, allocations: 390 kB / 0.5813 GB, free: 268 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.3617, allocations: 49.64 kB / 0.5813 GB, free: 212 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3619, allocations: 281.5 kB / 0.5816 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/0.3623, allocations: 432.2 kB / 0.582 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.3626, allocations: 191 kB / 0.5822 GB, free: 15.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3628, allocations: 378.8 kB / 0.5826 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.3634, allocations: 310.5 kB / 0.5829 GB, free: 14.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.3642, allocations: 0.4965 MB / 0.5833 GB, free: 14.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.3657, allocations: 0.8507 MB / 0.5842 GB, free: 13.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3657, allocations: 4 kB / 0.5842 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001856/0.3676, allocations: 0.9961 MB / 0.5852 GB, free: 12.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3676, allocations: 8 kB / 0.5852 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3676, allocations: 4.438 kB / 0.5852 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.3676, allocations: 16 kB / 0.5852 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.3687, allocations: 275.7 kB / 0.5854 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.3687, allocations: 11.98 kB / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3691, allocations: 43.98 kB / 0.5855 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.3692, allocations: 43.98 kB / 0.5855 GB, free: 11.74 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.0003444/0.3696, allocations: 233.5 kB / 0.5858 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.3698, allocations: 91.47 kB / 0.5858 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.3703, allocations: 226.9 kB / 0.5861 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.3703, allocations: 16.09 kB / 0.5861 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3703, allocations: 3.938 kB / 0.5861 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.3703, allocations: 7.984 kB / 0.5861 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.3744, allocations: 2.278 MB / 0.5883 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.3744, allocations: 4 kB / 0.5883 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.3755, allocations: 251.7 kB / 0.5886 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/0.3755, allocations: 16.22 kB / 0.5886 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.3756, allocations: 24 kB / 0.5886 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/0.3756, allocations: 11.94 kB / 0.5886 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.3756, allocations: 7.984 kB / 0.5886 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.3783, allocations: 1.886 MB / 0.5905 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.3786, allocations: 127.4 kB / 0.5906 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.3787, allocations: 28 kB / 0.5906 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.3793, allocations: 39.97 kB / 0.5906 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.3796, allocations: 92.38 kB / 0.5907 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.3796, allocations: 28 kB / 0.5908 GB, free: 6.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.3799, allocations: 267.1 kB / 0.591 GB, free: 5.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3799, allocations: 4 kB / 0.591 GB, free: 5.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000879/0.3808, allocations: 200 kB / 0.5912 GB, free: 5.777 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.0002083/0.381, allocations: 139.1 kB / 0.5913 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.3826, allocations: 0.7925 MB / 0.5921 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3826, allocations: 7.938 kB / 0.5921 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.3834, allocations: 465 kB / 0.5926 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.3847, allocations: 149.1 kB / 0.5927 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.3885, allocations: 2.224 MB / 0.5949 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.3892, allocations: 0.9557 MB / 0.5958 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.3897, allocations: 102 kB / 0.5959 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3899, allocations: 67.61 kB / 0.596 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3899, allocations: 0 / 0.596 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of Templates: time 0.01614/0.406, allocations: 8.18 MB / 0.604 GB, free: 8.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 5.412984668975696]