Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 46.96 MB / 361.6 MB, free: 4.031 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 79.88 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2837, allocations: 66.02 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002828/0.2865, allocations: 1.623 MB / 0.5634 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.2868, allocations: 107.6 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.2869, allocations: 3.938 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/0.2869, allocations: 15.86 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.287, allocations: 39.64 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.2872, allocations: 19.97 kB / 0.5636 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2873, allocations: 135.4 kB / 0.5637 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2874, allocations: 29.3 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.2875, allocations: 43.86 kB / 0.5638 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.2876, allocations: 55.77 kB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2876, allocations: 12 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.2877, allocations: 8 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.2877, allocations: 23.92 kB / 0.5639 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.2877, allocations: 43.8 kB / 0.5639 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2879, allocations: 125.9 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2879, allocations: 0 / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2879, allocations: 0 / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2879, allocations: 0 / 0.564 GB, free: 1.906 MB / 398.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.0004894/0.2884, allocations: 342.1 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2885, allocations: 12.03 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.2885, allocations: 12.89 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.2887, allocations: 138.3 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2887, allocations: 4.609 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.2887, allocations: 16.38 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.289, allocations: 125.6 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.289, allocations: 8.125 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.289, allocations: 7.938 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.289, allocations: 4 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2891, allocations: 59.91 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.2898, allocations: 436.3 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2899, allocations: 81.17 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.29, allocations: 37.73 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.29, allocations: 0 / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.29, allocations: 34.5 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.29, allocations: 0 / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005302/0.2905, allocations: 155.5 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.2906, allocations: 77.11 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2907, allocations: 129.7 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2907, allocations: 29.64 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.2908, allocations: 123.8 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.2908, allocations: 35.72 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.2909, allocations: 25.72 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.291, allocations: 326.8 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.2911, allocations: 23.98 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.2912, allocations: 87.53 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.2913, allocations: 132.4 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2913, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002841/0.2916, allocations: 159.2 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2916, allocations: 8 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2916, allocations: 4 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.2918, allocations: 37.64 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.2919, allocations: 27.92 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.2939, allocations: 2.485 MB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.294, allocations: 19.83 kB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.294, allocations: 4 kB / 0.569 GB, free: 12.27 MB / 414.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 0.000114/0.2941, allocations: 129.8 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.2941, allocations: 12.2 kB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.2942, allocations: 8 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2942, allocations: 4 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2942, allocations: 0 / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2942, allocations: 3.938 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.2944, allocations: 137.2 kB / 0.5693 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2944, allocations: 0 / 0.5693 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.2945, allocations: 19.98 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.4e-05/0.2946, allocations: 33.64 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2946, allocations: 4 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.2965, allocations: 2.473 MB / 0.5718 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2965, allocations: 4 kB / 0.5718 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.2968, allocations: 312.6 kB / 0.5721 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.2968, allocations: 8 kB / 0.5721 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2968, allocations: 4 kB / 0.5721 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.2969, allocations: 3.938 kB / 0.5721 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.2969, allocations: 12.03 kB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2969, allocations: 3.984 kB / 0.5721 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.297, allocations: 91.28 kB / 0.5722 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.297, allocations: 0 / 0.5722 GB, free: 8.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.2973, allocations: 39.89 kB / 0.5723 GB, free: 8.703 MB / 414.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 0.0001091/0.2975, allocations: 103.2 kB / 0.5724 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.2979, allocations: 301.5 kB / 0.5726 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2979, allocations: 3.938 kB / 0.5726 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.2982, allocations: 261.2 kB / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.2987, allocations: 32.3 kB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.2995, allocations: 469.4 kB / 0.5734 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.324e-05/0.2996, allocations: 93.61 kB / 0.5735 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.2996, allocations: 8.984 kB / 0.5735 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.2996, allocations: 11.44 kB / 0.5735 GB, free: 7.336 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2996, allocations: 4 kB / 0.5735 GB, free: 7.332 MB / 414.1 MB Notification: Performance of Templates: time 0.004824/0.3044, allocations: 1.779 MB / 0.5752 GB, free: 5.586 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.8626649049983826]