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.00235/0.002354, allocations: 180.2 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001082/0.001082, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.276/0.276, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.687e-05, allocations: 0 / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5148/0.6322, allocations: 84.56 MB / 0.5554 GB, free: 3.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.6326, allocations: 70.69 kB / 0.5554 GB, free: 3.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009742/0.6423, allocations: 2.013 MB / 0.5574 GB, free: 1.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6424, allocations: 0 / 0.5574 GB, free: 1.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.6424, allocations: 4 kB / 0.5574 GB, free: 1.32 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005025/0.6429, allocations: 373 kB / 0.5578 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.643, allocations: 8.031 kB / 0.5578 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.6431, allocations: 11.91 kB / 0.5578 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6432, allocations: 174.9 kB / 0.5579 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.6433, allocations: 15.92 kB / 0.558 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.6434, allocations: 18.3 kB / 0.558 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.6437, allocations: 124.6 kB / 0.5581 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.6438, allocations: 7.984 kB / 0.5581 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.6438, allocations: 5.75 kB / 0.5581 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6439, allocations: 4 kB / 0.5581 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.6441, allocations: 52.61 kB / 0.5582 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.6454, allocations: 0.5457 MB / 0.5587 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.6457, allocations: 88.08 kB / 0.5588 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.6458, allocations: 28.22 kB / 0.5588 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6458, allocations: 0 / 0.5588 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.6459, allocations: 34.56 kB / 0.5588 GB, free: 15.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/0.6459, allocations: 0 / 0.5588 GB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000619/0.6465, allocations: 112.5 kB / 0.5589 GB, free: 15.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.6466, allocations: 81.06 kB / 0.559 GB, free: 15.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.6468, allocations: 114.6 kB / 0.5591 GB, free: 15.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6469, allocations: 25.7 kB / 0.5592 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.647, allocations: 184.9 kB / 0.5593 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.6471, allocations: 30.47 kB / 0.5594 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.6471, allocations: 10.86 kB / 0.5594 GB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6473, allocations: 321.6 kB / 0.5597 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.6474, allocations: 22.69 kB / 0.5597 GB, free: 14.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.6476, allocations: 78.22 kB / 0.5598 GB, free: 14.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6478, allocations: 38.98 kB / 0.5598 GB, free: 14.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6478, allocations: 0 / 0.5598 GB, free: 14.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006145/0.6484, allocations: 166.5 kB / 0.56 GB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.6485, allocations: 11.95 kB / 0.56 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6485, allocations: 192 / 0.56 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.6488, allocations: 40.83 kB / 0.56 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.649, allocations: 19.38 kB / 0.56 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003305/0.6524, allocations: 2.544 MB / 0.5625 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.6526, allocations: 11.66 kB / 0.5625 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.6526, allocations: 4 kB / 0.5625 GB, free: 11.83 MB / 378.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 0.000149/0.6528, allocations: 116.7 kB / 0.5627 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.6529, allocations: 11.86 kB / 0.5627 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.653, allocations: 15.94 kB / 0.5627 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.653, allocations: 3.984 kB / 0.5627 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.653, allocations: 0 / 0.5627 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6531, allocations: 0 / 0.5627 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.6536, allocations: 200.2 kB / 0.5629 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6536, allocations: 0 / 0.5629 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.6539, allocations: 19.92 kB / 0.5629 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.6542, allocations: 41.28 kB / 0.5629 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.6542, allocations: 0 / 0.5629 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.6574, allocations: 2.536 MB / 0.5654 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6575, allocations: 0 / 0.5654 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.6582, allocations: 321.2 kB / 0.5657 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6583, allocations: 88.95 kB / 0.5658 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.6583, allocations: 0 / 0.5658 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.6586, allocations: 0 / 0.5658 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.6587, allocations: 19.61 kB / 0.5658 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.6587, allocations: 4 kB / 0.5658 GB, free: 8.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.6588, allocations: 91.16 kB / 0.5659 GB, free: 8.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6588, allocations: 0 / 0.5659 GB, free: 8.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008374/0.6597, allocations: 43.59 kB / 0.566 GB, free: 8.109 MB / 378.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.0002262/0.6599, allocations: 99.17 kB / 0.566 GB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007553/0.6607, allocations: 288 kB / 0.5663 GB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.6608, allocations: 0 / 0.5663 GB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.6613, allocations: 264.5 kB / 0.5666 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.662, allocations: 31.3 kB / 0.5666 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.6634, allocations: 429.7 kB / 0.567 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.664, allocations: 0.7161 MB / 0.5677 GB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.664, allocations: 11.44 kB / 0.5677 GB, free: 6.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.664, allocations: 0 / 0.5677 GB, free: 6.238 MB / 378.7 MB Notification: Performance of Templates: time 0.00845/0.6725, allocations: 2.346 MB / 0.57 GB, free: 3.906 MB / 378.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