Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002727/0.002727, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 88.28 kB / 270.9 MB, free: 8.395 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.5089/0.5089, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 12 kB / 431.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 58.85 MB / 490.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.5799, allocations: 84.65 MB / 0.5614 GB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5802, allocations: 63.97 kB / 0.5614 GB, free: 2.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007119/0.5873, allocations: 2.017 MB / 0.5634 GB, free: 76 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5874, allocations: 0 / 0.5634 GB, free: 76 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.5874, allocations: 4 kB / 0.5634 GB, free: 72 kB / 378.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.0005043/0.5879, allocations: 383 kB / 0.5638 GB, free: 15.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.588, allocations: 8.562 kB / 0.5638 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.588, allocations: 16.47 kB / 0.5638 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5882, allocations: 178.4 kB / 0.564 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5882, allocations: 8.234 kB / 0.564 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.5883, allocations: 19.89 kB / 0.564 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.5886, allocations: 121 kB / 0.5641 GB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5886, allocations: 0 / 0.5641 GB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.5886, allocations: 12 kB / 0.5641 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5887, allocations: 3.375 kB / 0.5641 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.5888, allocations: 60.94 kB / 0.5642 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000994/0.5898, allocations: 0.5411 MB / 0.5647 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.59, allocations: 88.8 kB / 0.5648 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.5901, allocations: 7.984 kB / 0.5648 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5901, allocations: 38.73 kB / 0.5649 GB, free: 14.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.5901, allocations: 3.938 kB / 0.5649 GB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007939/0.5909, allocations: 297.4 kB / 0.5651 GB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.591, allocations: 85.06 kB / 0.5652 GB, free: 13.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.5911, allocations: 109.6 kB / 0.5653 GB, free: 13.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5911, allocations: 29.7 kB / 0.5654 GB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.5913, allocations: 186.1 kB / 0.5655 GB, free: 13.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.5913, allocations: 31.55 kB / 0.5656 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.5913, allocations: 4 kB / 0.5656 GB, free: 13.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5914, allocations: 318.8 kB / 0.5659 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.5915, allocations: 20 kB / 0.5659 GB, free: 13.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.5917, allocations: 88.52 kB / 0.566 GB, free: 13.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.5918, allocations: 31.98 kB / 0.566 GB, free: 13.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5918, allocations: 4 kB / 0.566 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000408/0.5922, allocations: 167 kB / 0.5662 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5922, allocations: 7.953 kB / 0.5662 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5923, allocations: 4 kB / 0.5662 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.5925, allocations: 33.7 kB / 0.5662 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5926, allocations: 28.17 kB / 0.5662 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.5949, allocations: 2.553 MB / 0.5687 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.595, allocations: 11.91 kB / 0.5687 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.5951, allocations: 4 kB / 0.5687 GB, free: 10.05 MB / 394.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 () * 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 (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 0.0001398/0.5952, allocations: 134 kB / 0.5689 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.5953, allocations: 7.953 kB / 0.5689 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.5953, allocations: 7.906 kB / 0.5689 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5953, allocations: 4 kB / 0.5689 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5954, allocations: 1 kB / 0.5689 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5954, allocations: 0 / 0.5689 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.5957, allocations: 209.5 kB / 0.5691 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5957, allocations: 3.062 kB / 0.5691 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.5959, allocations: 20.75 kB / 0.5691 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.5961, allocations: 37.66 kB / 0.5692 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.5961, allocations: 0 / 0.5692 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.5983, allocations: 2.551 MB / 0.5716 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5984, allocations: 0 / 0.5716 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.5988, allocations: 314.1 kB / 0.5719 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.5989, allocations: 89.14 kB / 0.572 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.5989, allocations: 4 kB / 0.572 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5991, allocations: 3.938 kB / 0.572 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.5991, allocations: 12.03 kB / 0.572 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5991, allocations: 7.953 kB / 0.5721 GB, free: 6.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.307e-05/0.5992, allocations: 94.66 kB / 0.5721 GB, free: 6.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5992, allocations: 0 / 0.5721 GB, free: 6.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.5997, allocations: 32.25 kB / 0.5722 GB, free: 6.16 MB / 394.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 () * 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 (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.0001396/0.5999, allocations: 103.2 kB / 0.5723 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005167/0.6004, allocations: 303.4 kB / 0.5726 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6004, allocations: 0 / 0.5726 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.6008, allocations: 258.4 kB / 0.5728 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.6013, allocations: 21.36 kB / 0.5728 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.6024, allocations: 0.5854 MB / 0.5734 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.6028, allocations: 0.7161 MB / 0.5741 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.6028, allocations: 15.44 kB / 0.5741 GB, free: 4.066 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6028, allocations: 0 / 0.5741 GB, free: 4.066 MB / 394.7 MB Notification: Performance of Templates: time 0.005551/0.6084, allocations: 2.352 MB / 0.5764 GB, free: 1.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches