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.001714/0.001714, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002257/0.002257, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.485/1.485, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.363/0.363, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.959e-05, allocations: 2.312 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006255/0.006285, allocations: 3.789 MB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.008747, allocations: 1.133 MB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.008999, allocations: 19.88 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.009268, allocations: 98.95 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.009762, allocations: 229.9 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.01041, allocations: 235.3 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.0115, allocations: 0.8246 MB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.01185, allocations: 159.9 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.01257, allocations: 475 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.01299, allocations: 251.2 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.0131, allocations: 60 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.01331, allocations: 95.91 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.01347, allocations: 147.4 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.01379, allocations: 251.3 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.01487, allocations: 0.802 MB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01488, allocations: 0 / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01488, allocations: 0 / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.01489, allocations: 0 / 385.7 MB, free: 10.37 MB / 362.7 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.002138/0.01703, allocations: 0.9487 MB / 386.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.01708, allocations: 12.03 kB / 386.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/0.01787, allocations: 196.3 kB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.01852, allocations: 371.4 kB / 387.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.01857, allocations: 45.69 kB / 387.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.0187, allocations: 68.31 kB / 387.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.01999, allocations: 0.6238 MB / 387.9 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002829/0.02028, allocations: 12.09 kB / 388 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.02034, allocations: 27.94 kB / 388 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.02036, allocations: 16 kB / 388 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.02159, allocations: 0.515 MB / 388.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.02508, allocations: 1.928 MB / 390.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.02649, allocations: 0.6492 MB / 391.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.02717, allocations: 315.3 kB / 391.4 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.02729, allocations: 28.44 kB / 391.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.02734, allocations: 54.98 kB / 391.5 MB, free: 4.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.605e-06/0.02735, allocations: 0 / 391.5 MB, free: 4.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.0094/0.03675, allocations: 3.951 MB / 395.4 MB, free: 164 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.03694, allocations: 226.2 kB / 395.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.03749, allocations: 393.8 kB / 396 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/0.03756, allocations: 41.7 kB / 396.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.03784, allocations: 293.5 kB / 396.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.03829, allocations: 428.2 kB / 396.8 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.03859, allocations: 178.9 kB / 397 MB, free: 14.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.03884, allocations: 382.8 kB / 397.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.03955, allocations: 310.4 kB / 397.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009099/0.04046, allocations: 0.4926 MB / 398.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.04222, allocations: 0.8631 MB / 399 MB, free: 12.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.04223, allocations: 7.938 kB / 399 MB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002231/0.04446, allocations: 1.043 MB / 400 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.04449, allocations: 8 kB / 400.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.0445, allocations: 4.438 kB / 400.1 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-05/0.04454, allocations: 20.08 kB / 400.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.04568, allocations: 275.6 kB / 400.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.04571, allocations: 15.94 kB / 400.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.0462, allocations: 47.95 kB / 400.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.375e-05/0.0463, allocations: 40 kB / 400.4 MB, free: 10.92 MB / 378.7 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.0003948/0.04669, allocations: 233.5 kB / 400.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.04702, allocations: 119.5 kB / 400.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/0.04759, allocations: 219.1 kB / 401 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.04761, allocations: 19.94 kB / 401 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.04762, allocations: 0 / 401 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.04764, allocations: 11.97 kB / 401 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.05201, allocations: 2.065 MB / 403.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.05202, allocations: 7.938 kB / 403.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.05315, allocations: 248 kB / 403.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/0.05317, allocations: 8 kB / 403.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.05324, allocations: 32.05 kB / 403.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.05325, allocations: 12 kB / 403.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.05326, allocations: 7.938 kB / 403.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.05636, allocations: 1.906 MB / 405.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.05669, allocations: 123.5 kB / 405.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.05679, allocations: 31.98 kB / 405.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.05743, allocations: 39.92 kB / 405.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.05764, allocations: 92.38 kB / 405.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.05772, allocations: 35.98 kB / 405.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003679/0.05808, allocations: 271.1 kB / 405.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05808, allocations: 0 / 405.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009645/0.05905, allocations: 196 kB / 406.1 MB, free: 5.148 MB / 378.7 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.0002612/0.05931, allocations: 135.6 kB / 406.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.06111, allocations: 0.7965 MB / 407 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.06111, allocations: 0 / 407 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009295/0.06204, allocations: 464.4 kB / 407.5 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.06339, allocations: 163.3 kB / 407.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.06741, allocations: 1.915 MB / 409.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.06791, allocations: 365.1 kB / 409.9 MB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.06836, allocations: 102 kB / 410 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.06858, allocations: 64.48 kB / 410.1 MB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.06858, allocations: 0 / 410.1 MB, free: 1.062 MB / 378.7 MB Notification: Performance of Templates: time 0.01738/0.08596, allocations: 7.352 MB / 417.4 MB, free: 9.82 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 5.0913526099175215]