Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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.001428/0.001428, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001566/0.001566, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9648/0.9648, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2963/0.2963, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.7 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378.7 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.738e-05, allocations: 6.312 kB / 378.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.008722/0.00875, allocations: 2.643 MB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.01005, allocations: 0.7087 MB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.01023, allocations: 15.88 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.01041, allocations: 39.58 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.0106, allocations: 95.12 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.01095, allocations: 103.8 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.01133, allocations: 350.3 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.01149, allocations: 62.06 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.01192, allocations: 195.5 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.01204, allocations: 99.69 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.01207, allocations: 20 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.01213, allocations: 28 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.01217, allocations: 63.73 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.01224, allocations: 95.77 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.01249, allocations: 219.1 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01249, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0125, allocations: 0 / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.0125, allocations: 0 / 383.4 MB, free: 13.41 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005746/0.01308, allocations: 0.605 MB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.01311, allocations: 16.03 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.01327, allocations: 68.69 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.01351, allocations: 224 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.01352, allocations: 16.88 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.01356, allocations: 36.33 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.01385, allocations: 263.4 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01386, allocations: 8.188 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.01388, allocations: 8.375 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.01389, allocations: 11.94 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.01403, allocations: 100.3 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.01504, allocations: 1.428 MB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.01553, allocations: 216.3 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.0156, allocations: 66.92 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.01562, allocations: 7.938 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01565, allocations: 49.38 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.01565, allocations: 0 / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001105/0.01675, allocations: 0.9992 MB / 387.5 MB, free: 8.918 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.0168, allocations: 140.5 kB / 387.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.01696, allocations: 284.2 kB / 388 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.01697, allocations: 33.64 kB / 388 MB, free: 8.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.01707, allocations: 227.3 kB / 388.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.01713, allocations: 119 kB / 388.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.0172, allocations: 79.8 kB / 388.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01731, allocations: 0.5117 MB / 388.9 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.01739, allocations: 40.97 kB / 389 MB, free: 7.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01753, allocations: 238.7 kB / 389.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.01778, allocations: 319 kB / 389.5 MB, free: 6.715 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01778, allocations: 0 / 389.5 MB, free: 6.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003061/0.01808, allocations: 297.7 kB / 389.8 MB, free: 6.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.0181, allocations: 8 kB / 389.8 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.01811, allocations: 4 kB / 389.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01813, allocations: 15.88 kB / 389.8 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.01832, allocations: 100.3 kB / 389.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.01833, allocations: 7.938 kB / 389.9 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.01842, allocations: 19.98 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.01844, allocations: 20 kB / 390 MB, free: 6.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 8.846e-05/0.01853, allocations: 176.5 kB / 390.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.01859, allocations: 43.81 kB / 390.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.01863, allocations: 33.77 kB / 390.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.01864, allocations: 11.88 kB / 390.2 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01864, allocations: 4 kB / 390.2 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01865, allocations: 3.984 kB / 390.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.01935, allocations: 0.9704 MB / 391.2 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.01936, allocations: 4.438 kB / 391.2 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.01952, allocations: 71.89 kB / 391.3 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01953, allocations: 4 kB / 391.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.01955, allocations: 12 kB / 391.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.01955, allocations: 7.984 kB / 391.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01955, allocations: 0 / 391.3 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.01999, allocations: 0.7583 MB / 392.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.02001, allocations: 23.81 kB / 392.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.02004, allocations: 8 kB / 392.1 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.02016, allocations: 15.98 kB / 392.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.02022, allocations: 36.06 kB / 392.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.02023, allocations: 8 kB / 392.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.844e-05/0.02032, allocations: 201.1 kB / 392.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02032, allocations: 0 / 392.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000312/0.02063, allocations: 64 kB / 392.4 MB, free: 3.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 9.678e-05/0.02073, allocations: 107.2 kB / 392.5 MB, free: 3.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.02097, allocations: 176.3 kB / 392.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02098, allocations: 0 / 392.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.02107, allocations: 96.31 kB / 392.8 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.02147, allocations: 48.59 kB / 392.8 MB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.02273, allocations: 0.7516 MB / 393.6 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.0228, allocations: 92.92 kB / 393.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.568e-05/0.02289, allocations: 34.95 kB / 393.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.02296, allocations: 28.5 kB / 393.7 MB, free: 2.293 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02296, allocations: 0 / 393.7 MB, free: 2.293 MB / 362.7 MB Notification: Performance of Templates: time 0.004768/0.02772, allocations: 2.519 MB / 396.2 MB, free: 15.8 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1633697911165655]