Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001784/0.001784, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001513/0.001513, allocations: 160.6 kB / 23.95 MB, free: 4.152 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.516/1.516, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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.217/0.217, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.79e-05, allocations: 2.281 kB / 442.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00335/0.003388, allocations: 1.621 MB / 444.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.003736, allocations: 107.6 kB / 444.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.003819, allocations: 7.938 kB / 444.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.405e-05/0.003883, allocations: 11.86 kB / 444.4 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.00402, allocations: 43.69 kB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.004174, allocations: 23.97 kB / 444.4 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.004384, allocations: 127.3 kB / 444.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.004558, allocations: 33.08 kB / 444.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.004722, allocations: 83.73 kB / 444.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.004811, allocations: 35.91 kB / 444.7 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.004852, allocations: 11.98 kB / 444.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.383e-05/0.004876, allocations: 8 kB / 444.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.004907, allocations: 15.94 kB / 444.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.004979, allocations: 43.91 kB / 444.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.005181, allocations: 123.6 kB / 444.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005184, allocations: 4 kB / 444.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.005187, allocations: 3.984 kB / 444.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.005198, allocations: 0 / 444.9 MB, free: 3.004 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006104/0.005808, allocations: 326.2 kB / 445.2 MB, free: 2.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.005853, allocations: 8.031 kB / 445.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.005902, allocations: 16.89 kB / 445.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.006124, allocations: 133.6 kB / 445.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.006137, allocations: 8.609 kB / 445.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.006188, allocations: 12.38 kB / 445.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.006473, allocations: 146.9 kB / 445.6 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.006494, allocations: 4.141 kB / 445.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.006512, allocations: 4.375 kB / 445.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.006524, allocations: 4.375 kB / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.006654, allocations: 63.91 kB / 445.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.007479, allocations: 440.1 kB / 446.1 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.007641, allocations: 89.06 kB / 446.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.007687, allocations: 25.89 kB / 446.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.007697, allocations: 11.88 kB / 446.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.007723, allocations: 30.56 kB / 446.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.007724, allocations: 4 kB / 446.2 MB, free: 1.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.008295, allocations: 147.2 kB / 446.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.008351, allocations: 77.11 kB / 446.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.008492, allocations: 121.8 kB / 446.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.008515, allocations: 25.7 kB / 446.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.008613, allocations: 127.8 kB / 446.7 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.008649, allocations: 35.69 kB / 446.7 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.008696, allocations: 29.72 kB / 446.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.008858, allocations: 322.8 kB / 447.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.008906, allocations: 27.92 kB / 447.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.009009, allocations: 84.58 kB / 447.2 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.009175, allocations: 124.5 kB / 447.3 MB, free: 348 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009176, allocations: 0 / 447.3 MB, free: 348 kB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002828/0.009459, allocations: 163 kB / 447.5 MB, free: 172 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.009479, allocations: 8 kB / 447.5 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.009488, allocations: 4 kB / 447.5 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.00967, allocations: 37.95 kB / 447.5 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.009764, allocations: 27.92 kB / 447.6 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2382/0.2479, allocations: 2.474 MB / 450 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.248, allocations: 16.31 kB / 450.1 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.248, allocations: 5.031 kB / 450.1 MB, free: 16.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/0.2481, allocations: 124.3 kB / 450.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.2481, allocations: 10.02 kB / 450.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.2482, allocations: 11.25 kB / 450.2 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2482, allocations: 9.656 kB / 450.2 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2482, allocations: 1.031 kB / 450.2 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2482, allocations: 1.891 kB / 450.2 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.2483, allocations: 135 kB / 450.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2483, allocations: 4 kB / 450.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/0.2484, allocations: 13.88 kB / 450.4 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.2485, allocations: 37.8 kB / 450.4 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.2486, allocations: 1.094 kB / 450.4 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2496, allocations: 2.481 MB / 452.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2496, allocations: 5.25 kB / 452.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.2499, allocations: 306 kB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.2499, allocations: 7.906 kB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2499, allocations: 5.625 kB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.25, allocations: 5.281 kB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.25, allocations: 7.828 kB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.25, allocations: 4.938 kB / 453.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.2501, allocations: 94.06 kB / 453.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2501, allocations: 1.188 kB / 453.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003692/0.2504, allocations: 39.41 kB / 453.3 MB, free: 13.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.389e-05/0.2505, allocations: 102.8 kB / 453.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.2509, allocations: 295.4 kB / 453.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2509, allocations: 0 / 453.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.2511, allocations: 265.7 kB / 454 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.2516, allocations: 21.27 kB / 454 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.2522, allocations: 389.7 kB / 454.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.2523, allocations: 95.39 kB / 454.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.2523, allocations: 8.938 kB / 454.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.2523, allocations: 13.56 kB / 454.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2523, allocations: 4 kB / 454.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of Templates: time 0.004926/0.2572, allocations: 1.646 MB / 456.2 MB, free: 12.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.011143483221531]