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.001278/0.001278, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001835/0.003113, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001131/0.001131, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.00268, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.029/1.029, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09332/1.122, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2832/0.2832, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02453/0.3078, allocations: 13.23 MB / 292.6 MB, free: 6.484 MB / 282.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.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 1.893e-06/1.893e-06, allocations: 7.875 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.87e-05/2.059e-05, allocations: 4.422 kB / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002743/0.002764, allocations: 2.885 MB / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003962, allocations: 0.7882 MB / 297.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.004139, allocations: 11.94 kB / 297.5 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.004246, allocations: 59.39 kB / 297.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.004441, allocations: 138.8 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.004651, allocations: 107.7 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.005025, allocations: 457.6 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.005198, allocations: 106.8 kB / 298.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.005533, allocations: 279.4 kB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.005686, allocations: 131.6 kB / 298.8 MB, free: 260 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.005726, allocations: 36 kB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.005806, allocations: 36 kB / 298.9 MB, free: 188 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.005849, allocations: 55.81 kB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.005937, allocations: 119.8 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.006222, allocations: 270.9 kB / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.006235, allocations: 0 / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006236, allocations: 0 / 299.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.006249, allocations: 0 / 299.3 MB, free: 15.75 MB / 298.7 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.0006681/0.006917, allocations: 0.6414 MB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.006954, allocations: 8.922 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.00722, allocations: 154 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.007453, allocations: 197.1 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.007472, allocations: 29.38 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.007521, allocations: 52.23 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.007809, allocations: 319.3 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.00783, allocations: 16.12 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.007851, allocations: 16.38 kB / 300.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.007861, allocations: 15.88 kB / 300.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.007981, allocations: 99.8 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.009149, allocations: 1.45 MB / 302.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.009342, allocations: 218.3 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.00939, allocations: 61.95 kB / 302.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.009408, allocations: 12.02 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.009432, allocations: 46.5 kB / 302.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.009433, allocations: 0 / 302.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.000252/0.009685, allocations: 161.8 kB / 302.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.009751, allocations: 214 kB / 303 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.009909, allocations: 270.7 kB / 303.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.009922, allocations: 29.7 kB / 303.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01004, allocations: 235.8 kB / 303.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.0101, allocations: 123 kB / 303.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.0102, allocations: 102.2 kB / 303.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.0103, allocations: 346.7 kB / 304.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.01034, allocations: 41.28 kB / 304.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.01058, allocations: 373.1 kB / 304.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.01102, allocations: 495.8 kB / 304.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.01102, allocations: 4 kB / 304.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003387/0.01136, allocations: 385.3 kB / 305.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01138, allocations: 12 kB / 305.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.01139, allocations: 12 kB / 305.3 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01141, allocations: 16.81 kB / 305.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.01172, allocations: 179.7 kB / 305.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.01173, allocations: 23.92 kB / 305.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.01188, allocations: 67.56 kB / 305.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.0119, allocations: 24 kB / 305.7 MB, free: 8.691 MB / 298.7 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 9.607e-05/0.012, allocations: 165.5 kB / 305.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.01208, allocations: 27.97 kB / 305.8 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.01211, allocations: 33.8 kB / 305.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01212, allocations: 4 kB / 305.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01212, allocations: 8 kB / 305.9 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01212, allocations: 3.938 kB / 305.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.01273, allocations: 459.3 kB / 306.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01273, allocations: 0 / 306.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.01299, allocations: 111.6 kB / 306.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.01302, allocations: 27.75 kB / 306.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01302, allocations: 4 kB / 306.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.01304, allocations: 11.98 kB / 306.5 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.01305, allocations: 8.125 kB / 306.5 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.01305, allocations: 12 kB / 306.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.01351, allocations: 0.7356 MB / 307.2 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01354, allocations: 8 kB / 307.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.01371, allocations: 8 kB / 307.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.01375, allocations: 35.83 kB / 307.3 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01376, allocations: 4 kB / 307.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.01381, allocations: 84.62 kB / 307.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01381, allocations: 0 / 307.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004355/0.01425, allocations: 99.89 kB / 307.5 MB, free: 6.793 MB / 298.7 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 8.586e-05/0.01433, allocations: 92.3 kB / 307.6 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.01455, allocations: 224.1 kB / 307.8 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.01456, allocations: 8 kB / 307.8 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.64e-05/0.01462, allocations: 69.34 kB / 307.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.01516, allocations: 110.6 kB / 308 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.01982, allocations: 0.7841 MB / 308.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.01992, allocations: 112.5 kB / 308.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.02004, allocations: 43.27 kB / 308.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02016, allocations: 115.3 kB / 309 MB, free: 5.168 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.02016, allocations: 4 kB / 309 MB, free: 5.164 MB / 298.7 MB Notification: Performance of Templates: time 0.005658/0.02582, allocations: 3.505 MB / 312.5 MB, free: 1.75 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9333981908857822]