Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.4 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 87.56 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1793/0.1793, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.986e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4814, allocations: 85.76 MB / 0.5854 GB, free: 3.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.4816, allocations: 59.97 kB / 0.5855 GB, free: 3.512 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005067/0.4867, allocations: 2.076 MB / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4867, allocations: 0 / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.4867, allocations: 4 kB / 0.5875 GB, free: 1.441 MB / 394.7 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.0003647/0.4871, allocations: 374.4 kB / 0.5879 GB, free: 1.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4871, allocations: 8.031 kB / 0.5879 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.4872, allocations: 11.91 kB / 0.5879 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.4873, allocations: 175.8 kB / 0.5881 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4873, allocations: 8.234 kB / 0.5881 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.4874, allocations: 16 kB / 0.5881 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4876, allocations: 138 kB / 0.5882 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4876, allocations: 0 / 0.5882 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.4876, allocations: 4 kB / 0.5882 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4876, allocations: 4 kB / 0.5882 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.4877, allocations: 59.98 kB / 0.5883 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.4884, allocations: 0.5371 MB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4885, allocations: 93.08 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.4886, allocations: 25.72 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.4886, allocations: 7.953 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4886, allocations: 34.62 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4886, allocations: 0 / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002926/0.4889, allocations: 103.5 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.489, allocations: 89.11 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.4891, allocations: 112.8 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.4891, allocations: 29.7 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.4892, allocations: 118.6 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4892, allocations: 31.55 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.4892, allocations: 4 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.4893, allocations: 322.7 kB / 0.5898 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.4893, allocations: 24 kB / 0.5898 GB, free: 14.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.4894, allocations: 80.58 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.431e-05/0.4895, allocations: 39.98 kB / 0.5899 GB, free: 14.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4895, allocations: 3.938 kB / 0.5899 GB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002348/0.4897, allocations: 159.4 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4898, allocations: 8.969 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4898, allocations: 4 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.4899, allocations: 45.64 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.49, allocations: 19.98 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.4917, allocations: 2.533 MB / 0.5926 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.4918, allocations: 11.91 kB / 0.5926 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4918, allocations: 7.984 kB / 0.5926 GB, free: 11.68 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.4919, allocations: 116.9 kB / 0.5927 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.492, allocations: 7.906 kB / 0.5927 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.492, allocations: 8.031 kB / 0.5927 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.492, allocations: 8.094 kB / 0.5927 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.492, allocations: 3.953 kB / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.492, allocations: 4.078 kB / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.4923, allocations: 205.6 kB / 0.593 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4923, allocations: 0 / 0.593 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.4924, allocations: 12 kB / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-05/0.4925, allocations: 33.7 kB / 0.593 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4925, allocations: 7.938 kB / 0.593 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.4941, allocations: 2.544 MB / 0.5955 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4942, allocations: 4 kB / 0.5955 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.4944, allocations: 318.1 kB / 0.5958 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.4945, allocations: 85.08 kB / 0.5959 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.4945, allocations: 4 kB / 0.5959 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.4946, allocations: 0 / 0.5959 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.4946, allocations: 8 kB / 0.5959 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4946, allocations: 7.984 kB / 0.5959 GB, free: 7.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.4947, allocations: 94.12 kB / 0.596 GB, free: 7.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4947, allocations: 0 / 0.596 GB, free: 7.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.495, allocations: 39.91 kB / 0.596 GB, free: 7.809 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.4952, allocations: 95.33 kB / 0.5961 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.4956, allocations: 301.6 kB / 0.5964 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4956, allocations: 0 / 0.5964 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.4958, allocations: 261.2 kB / 0.5967 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.4962, allocations: 26 kB / 0.5967 GB, free: 7.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.4968, allocations: 405.8 kB / 0.5971 GB, free: 6.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.497, allocations: 0.7161 MB / 0.5978 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.682e-05/0.4971, allocations: 4.891 kB / 0.5978 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.4971, allocations: 11.44 kB / 0.5978 GB, free: 5.902 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4971, allocations: 4 kB / 0.5978 GB, free: 5.898 MB / 410.7 MB Notification: Performance of Templates: time 0.003572/0.5007, allocations: 1.407 MB / 0.5992 GB, free: 4.504 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches