Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001374/0.001374, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001477/0.001477, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.568/1.568, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.2443/0.2443, allocations: 46.96 MB / 360.8 MB, free: 3.895 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 79.88 kB / 0.4966 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4001, allocations: 66.09 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00821/0.4083, allocations: 2.651 MB / 0.5638 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.4107, allocations: 0.744 MB / 0.5645 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.411, allocations: 7.938 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.4112, allocations: 59.39 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.4116, allocations: 130.9 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.4121, allocations: 107.8 kB / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007171/0.4129, allocations: 441.9 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.4131, allocations: 94.06 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.4135, allocations: 187.3 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.4138, allocations: 151.2 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.4139, allocations: 32 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.4141, allocations: 47.97 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.4142, allocations: 71.7 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.4144, allocations: 175.2 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.4152, allocations: 440.6 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4152, allocations: 0 / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4152, allocations: 0 / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4152, allocations: 0 / 0.5663 GB, free: 14.64 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001412/0.4166, allocations: 0.5911 MB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4167, allocations: 8.031 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.4171, allocations: 60.62 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.4176, allocations: 222.7 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.4177, allocations: 29.38 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4178, allocations: 44.33 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4188, allocations: 398.5 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.4189, allocations: 3.953 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.4189, allocations: 16 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.4189, allocations: 12 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.4196, allocations: 215.7 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.4225, allocations: 1.559 MB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.4231, allocations: 250.3 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.4233, allocations: 86.08 kB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.4234, allocations: 11.98 kB / 0.5697 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.4234, allocations: 42.5 kB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 3.536e-06/0.4234, allocations: 0 / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009948/0.4244, allocations: 265.2 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.4246, allocations: 217.5 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.425, allocations: 268.1 kB / 0.5705 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.425, allocations: 33.7 kB / 0.5705 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.4253, allocations: 248 kB / 0.5708 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.4254, allocations: 119 kB / 0.5709 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.4256, allocations: 102.7 kB / 0.571 GB, free: 9.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.4259, allocations: 350.7 kB / 0.5713 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.4262, allocations: 101.2 kB / 0.5714 GB, free: 9.098 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.4268, allocations: 424.9 kB / 0.5718 GB, free: 8.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.4278, allocations: 0.5744 MB / 0.5724 GB, free: 7.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4278, allocations: 4 kB / 0.5724 GB, free: 7.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008892/0.4287, allocations: 0.5244 MB / 0.5729 GB, free: 7.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4288, allocations: 8 kB / 0.5729 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.4288, allocations: 12.5 kB / 0.5729 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.4288, allocations: 16 kB / 0.5729 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.4293, allocations: 148.4 kB / 0.5731 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/0.4293, allocations: 23.94 kB / 0.5731 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.4296, allocations: 71.61 kB / 0.5732 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.4296, allocations: 32 kB / 0.5732 GB, free: 6.953 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001987/0.4298, allocations: 181.5 kB / 0.5734 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.43, allocations: 27.81 kB / 0.5734 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.4301, allocations: 37.73 kB / 0.5734 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4301, allocations: 4 kB / 0.5734 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4301, allocations: 0 / 0.5734 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4301, allocations: 7.984 kB / 0.5734 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4313, allocations: 0.5651 MB / 0.574 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4313, allocations: 4 kB / 0.574 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.4318, allocations: 87.89 kB / 0.5741 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4318, allocations: 4 kB / 0.5741 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.4318, allocations: 11.98 kB / 0.5741 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4318, allocations: 4 kB / 0.5741 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.4318, allocations: 7.938 kB / 0.5741 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.4328, allocations: 0.8359 MB / 0.5749 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.4328, allocations: 27.75 kB / 0.5749 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.4329, allocations: 8 kB / 0.575 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.4332, allocations: 19.92 kB / 0.575 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.4333, allocations: 27.84 kB / 0.575 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4333, allocations: 8 kB / 0.575 GB, free: 5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.4335, allocations: 179.1 kB / 0.5752 GB, free: 4.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4335, allocations: 0 / 0.5752 GB, free: 4.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007348/0.4342, allocations: 99.89 kB / 0.5753 GB, free: 4.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001544/0.4344, allocations: 111.1 kB / 0.5754 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.435, allocations: 285.8 kB / 0.5757 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.435, allocations: 0 / 0.5757 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.4351, allocations: 88.08 kB / 0.5757 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.4361, allocations: 65.25 kB / 0.5758 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4386, allocations: 1.558 MB / 0.5773 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4389, allocations: 194.2 kB / 0.5775 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.439, allocations: 43.27 kB / 0.5775 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.4391, allocations: 31.44 kB / 0.5776 GB, free: 2.285 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4391, allocations: 4 kB / 0.5776 GB, free: 2.281 MB / 414.1 MB Notification: Performance of Templates: time 0.007958/0.447, allocations: 3.366 MB / 0.5809 GB, free: 14.97 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.358577301725745]