Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001363/0.001363, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.001512/0.001512, allocations: 212.8 kB / 24.46 MB, free: 4.359 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.52/1.52, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2503/0.2503, allocations: 46.9 MB / 361.1 MB, free: 4.668 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.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") [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.002341/0.002341, allocations: 79.86 kB / 0.4968 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3496, allocations: 65.99 MB / 0.5612 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004217/0.3539, allocations: 2.874 MB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3552, allocations: 0.8062 MB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3554, allocations: 11.94 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3556, allocations: 67.31 kB / 0.5649 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3558, allocations: 126.9 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.3562, allocations: 123.8 kB / 0.5651 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.3567, allocations: 446.3 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3569, allocations: 138.1 kB / 0.5657 GB, free: 484 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.3572, allocations: 179.3 kB / 0.5658 GB, free: 304 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3575, allocations: 195.1 kB / 0.566 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.3575, allocations: 39.94 kB / 0.5661 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.3576, allocations: 40 kB / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.3577, allocations: 87.7 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.3579, allocations: 206.9 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.3585, allocations: 456.7 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3585, allocations: 0 / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3585, allocations: 0 / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3585, allocations: 0 / 0.5668 GB, free: 15.29 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001095/0.3596, allocations: 0.6858 MB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3596, allocations: 8.031 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.36, allocations: 72.62 kB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.3604, allocations: 315.3 kB / 0.5679 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3604, allocations: 29.38 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.3605, allocations: 44.38 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.3612, allocations: 377.3 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.3612, allocations: 11.95 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.3612, allocations: 20 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3612, allocations: 8 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005187/0.3618, allocations: 251.8 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.3634, allocations: 1.097 MB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.364, allocations: 331.5 kB / 0.57 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.3643, allocations: 154.5 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3643, allocations: 15.97 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3644, allocations: 42.5 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.3644, allocations: 0 / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004069/0.3684, allocations: 2.452 MB / 0.5726 GB, free: 8.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.3685, allocations: 114.8 kB / 0.5727 GB, free: 8.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.3688, allocations: 242.7 kB / 0.5729 GB, free: 8.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3688, allocations: 37.7 kB / 0.5729 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.369, allocations: 184.9 kB / 0.5731 GB, free: 8.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.3692, allocations: 214.2 kB / 0.5733 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3693, allocations: 82.27 kB / 0.5734 GB, free: 8.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3695, allocations: 354.7 kB / 0.5737 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.3698, allocations: 125.1 kB / 0.5738 GB, free: 7.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.3701, allocations: 231.8 kB / 0.5741 GB, free: 7.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.3708, allocations: 398 kB / 0.5744 GB, free: 6.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3708, allocations: 0 / 0.5744 GB, free: 6.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00109/0.3719, allocations: 0.558 MB / 0.575 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3719, allocations: 8 kB / 0.575 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3719, allocations: 0 / 0.575 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/0.3723, allocations: 126.5 kB / 0.5751 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.3727, allocations: 95.88 kB / 0.5752 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/0.3776, allocations: 5.211 MB / 0.5803 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.3778, allocations: 23.92 kB / 0.5803 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.3778, allocations: 23.94 kB / 0.5803 GB, free: 392 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.3781, allocations: 165.8 kB / 0.5805 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3782, allocations: 43.77 kB / 0.5805 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.3783, allocations: 42.17 kB / 0.5806 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3783, allocations: 8 kB / 0.5806 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.3783, allocations: 7.938 kB / 0.5806 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3783, allocations: 3.984 kB / 0.5806 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.3805, allocations: 1.33 MB / 0.5819 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3805, allocations: 0 / 0.5819 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.3809, allocations: 99.88 kB / 0.582 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/0.3812, allocations: 98.39 kB / 0.5821 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.3812, allocations: 20.03 kB / 0.5821 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/0.3851, allocations: 4.423 MB / 0.5864 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.3851, allocations: 8.109 kB / 0.5864 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3865, allocations: 0.9233 MB / 0.5873 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3867, allocations: 108.9 kB / 0.5874 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.3867, allocations: 16.05 kB / 0.5875 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.387, allocations: 19.94 kB / 0.5875 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3871, allocations: 51.88 kB / 0.5875 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.3871, allocations: 12 kB / 0.5875 GB, free: 8.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3873, allocations: 178 kB / 0.5877 GB, free: 8.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3873, allocations: 0 / 0.5877 GB, free: 8.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006978/0.388, allocations: 124 kB / 0.5878 GB, free: 8.156 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.3881, allocations: 111.2 kB / 0.5879 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3895, allocations: 0.7535 MB / 0.5887 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3895, allocations: 0 / 0.5887 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008158/0.3903, allocations: 0.5642 MB / 0.5892 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.3909, allocations: 65.52 kB / 0.5893 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.3927, allocations: 1.106 MB / 0.5904 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3932, allocations: 0.8163 MB / 0.5912 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3934, allocations: 39.25 kB / 0.5912 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.3934, allocations: 31.44 kB / 0.5912 GB, free: 4.52 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3934, allocations: 4 kB / 0.5912 GB, free: 4.516 MB / 430.1 MB Notification: Performance of Templates: time 0.0101/0.4035, allocations: 4.765 MB / 0.5959 GB, free: 15.76 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.380376843735576]