Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001017, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 82.62 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.25/0.25, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.488e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 58.85 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4378/0.5581, allocations: 86.21 MB / 0.5501 GB, free: 8.594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5585, allocations: 75.3 kB / 0.5502 GB, free: 8.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.5728, allocations: 6.024 MB / 0.5561 GB, free: 3.859 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5728, allocations: 0 / 0.5561 GB, free: 3.859 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.5729, allocations: 12 kB / 0.5561 GB, free: 3.848 MB / 362.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.0007962/0.5737, allocations: 0.5419 MB / 0.5566 GB, free: 3.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5737, allocations: 15.97 kB / 0.5566 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5738, allocations: 43.48 kB / 0.5567 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.5741, allocations: 255.5 kB / 0.5569 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.5741, allocations: 12 kB / 0.5569 GB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.5742, allocations: 31.41 kB / 0.5569 GB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003063/0.5745, allocations: 166.8 kB / 0.5571 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.575, allocations: 314.8 kB / 0.5574 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.5751, allocations: 7.859 kB / 0.5574 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.5751, allocations: 8 kB / 0.5574 GB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.5751, allocations: 8 kB / 0.5574 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.5769, allocations: 1.65 MB / 0.559 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.5772, allocations: 230.2 kB / 0.5593 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.5773, allocations: 80.33 kB / 0.5593 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.5774, allocations: 7.984 kB / 0.5593 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.5774, allocations: 46.27 kB / 0.5594 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.356e-06/0.5774, allocations: 4 kB / 0.5594 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004006/0.5778, allocations: 173.3 kB / 0.5596 GB, free: 416 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5779, allocations: 209.6 kB / 0.5598 GB, free: 156 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.5781, allocations: 217.3 kB / 0.56 GB, free: 15.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5781, allocations: 25.7 kB / 0.56 GB, free: 15.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.5783, allocations: 247.1 kB / 0.5602 GB, free: 15.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.5783, allocations: 108.4 kB / 0.5603 GB, free: 15.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.5784, allocations: 4 kB / 0.5603 GB, free: 15.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5785, allocations: 341.2 kB / 0.5607 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.5786, allocations: 73.88 kB / 0.5607 GB, free: 15.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.579, allocations: 398.3 kB / 0.5611 GB, free: 14.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5792, allocations: 137.3 kB / 0.5612 GB, free: 14.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.5792, allocations: 4 kB / 0.5612 GB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006031/0.5798, allocations: 435.7 kB / 0.5617 GB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5799, allocations: 12 kB / 0.5617 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.5799, allocations: 16.11 kB / 0.5617 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.5799, allocations: 24.67 kB / 0.5617 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.5804, allocations: 155.1 kB / 0.5619 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.5804, allocations: 15.94 kB / 0.5619 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.5807, allocations: 59.36 kB / 0.5619 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.5807, allocations: 34.88 kB / 0.562 GB, free: 13.97 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5808, allocations: 128 kB / 0.5621 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.581, allocations: 23.72 kB / 0.5621 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.5811, allocations: 31.08 kB / 0.5621 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5811, allocations: 15.95 kB / 0.5622 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5811, allocations: 0 / 0.5622 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.5811, allocations: 4 kB / 0.5622 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.5822, allocations: 0.5811 MB / 0.5627 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5822, allocations: 0 / 0.5627 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.5827, allocations: 95.69 kB / 0.5628 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5827, allocations: 8 kB / 0.5628 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.5827, allocations: 11.52 kB / 0.5628 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.5828, allocations: 4 kB / 0.5628 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.5828, allocations: 3.938 kB / 0.5628 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.5836, allocations: 0.8792 MB / 0.5637 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.5837, allocations: 108.1 kB / 0.5638 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.5838, allocations: 4 kB / 0.5638 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.5841, allocations: 11.98 kB / 0.5638 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.5842, allocations: 18.98 kB / 0.5638 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.5842, allocations: 23.19 kB / 0.5639 GB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.5844, allocations: 155.9 kB / 0.564 GB, free: 11.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5844, allocations: 0 / 0.564 GB, free: 11.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008409/0.5852, allocations: 95.69 kB / 0.5641 GB, free: 11.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/0.5855, allocations: 106.4 kB / 0.5642 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.5859, allocations: 228 kB / 0.5644 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5859, allocations: 3.938 kB / 0.5644 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5861, allocations: 77.42 kB / 0.5645 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.5868, allocations: 48.2 kB / 0.5645 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.5894, allocations: 1.508 MB / 0.566 GB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.59, allocations: 0.8069 MB / 0.5668 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000198/0.5902, allocations: 39.28 kB / 0.5668 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.5903, allocations: 27.42 kB / 0.5669 GB, free: 9.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5903, allocations: 0 / 0.5669 GB, free: 9.008 MB / 378.7 MB Notification: Performance of Templates: time 0.006174/0.5964, allocations: 2.499 MB / 0.5693 GB, free: 6.539 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches