Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001449/0.001449, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001576/0.001576, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.33/1.33, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 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.2082/0.2082, allocations: 46.93 MB / 361.5 MB, free: 4.281 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 83.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2827, allocations: 66.08 MB / 0.5619 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004087/0.2868, allocations: 2.884 MB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2881, allocations: 0.8101 MB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2883, allocations: 15.88 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2885, allocations: 59.33 kB / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.2887, allocations: 130.9 kB / 0.5658 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.289, allocations: 115.8 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.2895, allocations: 458.3 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2897, allocations: 138.8 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.29, allocations: 179.4 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2902, allocations: 187.2 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.2903, allocations: 40 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.2904, allocations: 47.92 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.2904, allocations: 83.64 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2906, allocations: 206.9 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.2911, allocations: 464.4 kB / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2911, allocations: 0 / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2911, allocations: 0 / 0.5676 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2911, allocations: 3.938 kB / 0.5676 GB, free: 14.45 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.0009563/0.2921, allocations: 0.6028 MB / 0.5682 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2921, allocations: 12.03 kB / 0.5682 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.2924, allocations: 68.62 kB / 0.5683 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.2928, allocations: 249.5 kB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2929, allocations: 33.38 kB / 0.5685 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2929, allocations: 40.38 kB / 0.5686 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.2936, allocations: 377.4 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2936, allocations: 7.938 kB / 0.5689 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.2936, allocations: 16 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2936, allocations: 8 kB / 0.569 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.2941, allocations: 251.8 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2958, allocations: 1.055 MB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.2963, allocations: 323.5 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.2966, allocations: 162.4 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.2966, allocations: 7.984 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.2966, allocations: 38.56 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.2967, allocations: 3.938 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003652/0.3003, allocations: 2.009 MB / 0.5727 GB, free: 8.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.3004, allocations: 114.8 kB / 0.5728 GB, free: 8.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.3006, allocations: 241.9 kB / 0.573 GB, free: 8.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3007, allocations: 37.7 kB / 0.5731 GB, free: 8.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3008, allocations: 180.9 kB / 0.5732 GB, free: 8.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.3009, allocations: 214.2 kB / 0.5735 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3011, allocations: 86.34 kB / 0.5735 GB, free: 7.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3012, allocations: 354.7 kB / 0.5739 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3015, allocations: 129.2 kB / 0.574 GB, free: 7.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.3018, allocations: 236.7 kB / 0.5742 GB, free: 7.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.3024, allocations: 402 kB / 0.5746 GB, free: 6.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3024, allocations: 4 kB / 0.5746 GB, free: 6.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009692/0.3034, allocations: 0.5462 MB / 0.5751 GB, free: 6.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3034, allocations: 8 kB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3034, allocations: 4.094 kB / 0.5752 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.3037, allocations: 126.4 kB / 0.5753 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.3041, allocations: 91.89 kB / 0.5754 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.3084, allocations: 4.911 MB / 0.5802 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3086, allocations: 20.06 kB / 0.5802 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.3086, allocations: 19.98 kB / 0.5802 GB, free: 0.7188 MB / 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.0001979/0.3088, allocations: 167.6 kB / 0.5804 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.3089, allocations: 39.77 kB / 0.5804 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.309, allocations: 50.11 kB / 0.5804 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.309, allocations: 4 kB / 0.5804 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.309, allocations: 7.938 kB / 0.5805 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.309, allocations: 7.984 kB / 0.5805 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.311, allocations: 1.289 MB / 0.5817 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.311, allocations: 0 / 0.5817 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.3114, allocations: 99.88 kB / 0.5818 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.3117, allocations: 98.55 kB / 0.5819 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3117, allocations: 12.12 kB / 0.5819 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.315, allocations: 4.127 MB / 0.586 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.315, allocations: 3.938 kB / 0.586 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3163, allocations: 0.9143 MB / 0.5868 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.3163, allocations: 35.88 kB / 0.5869 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.3164, allocations: 20 kB / 0.5869 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3166, allocations: 12 kB / 0.5869 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.3167, allocations: 51.84 kB / 0.587 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3167, allocations: 16 kB / 0.587 GB, free: 9.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3169, allocations: 181.2 kB / 0.5871 GB, free: 9.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3169, allocations: 0 / 0.5871 GB, free: 9.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006483/0.3176, allocations: 120 kB / 0.5873 GB, free: 9.012 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.0001362/0.3177, allocations: 111.2 kB / 0.5874 GB, free: 8.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3189, allocations: 0.7579 MB / 0.5881 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3189, allocations: 4 kB / 0.5881 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000785/0.3197, allocations: 0.5565 MB / 0.5887 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.3204, allocations: 60.28 kB / 0.5887 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3222, allocations: 1.147 MB / 0.5898 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.3226, allocations: 0.8202 MB / 0.5906 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.3227, allocations: 35.42 kB / 0.5907 GB, free: 5.371 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3227, allocations: 0 / 0.5907 GB, free: 5.371 MB / 430.1 MB Notification: Performance of Templates: time 0.0115/0.3342, allocations: 9.5 MB / 0.5999 GB, free: 11.86 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.804958163993433]