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.0009806/0.0009806, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.559/1.559, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007632/0.0007631, allocations: 97.3 kB / 271.9 MB, free: 8.281 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.4132/0.4132, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.0006321, allocations: 12 kB / 432.6 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1773, allocations: 58.86 MB / 491.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5022/0.6796, allocations: 84.67 MB / 0.5626 GB, free: 1.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.68, allocations: 63.97 kB / 0.5627 GB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009106/0.6891, allocations: 2.016 MB / 0.5646 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.109e-06/0.6892, allocations: 1.219 kB / 0.5646 GB, free: 15.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.6892, allocations: 0 / 0.5646 GB, free: 15.73 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.0007117/0.6899, allocations: 391.1 kB / 0.565 GB, free: 15.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.69, allocations: 8.031 kB / 0.565 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.6901, allocations: 16.75 kB / 0.565 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.6904, allocations: 184.1 kB / 0.5652 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.6904, allocations: 8.609 kB / 0.5652 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.6905, allocations: 12.38 kB / 0.5652 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.6909, allocations: 121.6 kB / 0.5654 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.691, allocations: 192 / 0.5654 GB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.691, allocations: 15.94 kB / 0.5654 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.6911, allocations: 0 / 0.5654 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.6913, allocations: 63.89 kB / 0.5654 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.6926, allocations: 0.5398 MB / 0.566 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.6929, allocations: 85.08 kB / 0.566 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.693, allocations: 26.66 kB / 0.5661 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.693, allocations: 7.938 kB / 0.5661 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.6931, allocations: 38.56 kB / 0.5661 GB, free: 14.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 2.935e-06/0.6931, allocations: 0 / 0.5661 GB, free: 14.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.6941, allocations: 301.4 kB / 0.5664 GB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.6942, allocations: 77.11 kB / 0.5665 GB, free: 13.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.6944, allocations: 129.2 kB / 0.5666 GB, free: 13.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6945, allocations: 33.7 kB / 0.5666 GB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6946, allocations: 111.8 kB / 0.5667 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.6947, allocations: 27.56 kB / 0.5668 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.6947, allocations: 4 kB / 0.5668 GB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6949, allocations: 326.8 kB / 0.5671 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.695, allocations: 23.98 kB / 0.5671 GB, free: 12.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.6952, allocations: 82.97 kB / 0.5672 GB, free: 12.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.6954, allocations: 129.8 kB / 0.5673 GB, free: 12.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.6954, allocations: 4 kB / 0.5673 GB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000495/0.696, allocations: 163.3 kB / 0.5675 GB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.696, allocations: 4 kB / 0.5675 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.696, allocations: 4 kB / 0.5675 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.6964, allocations: 41.58 kB / 0.5675 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.6966, allocations: 23.98 kB / 0.5675 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.6996, allocations: 2.538 MB / 0.57 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.6998, allocations: 11.91 kB / 0.57 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.6998, allocations: 4 kB / 0.57 GB, free: 9.602 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.0002254/0.7001, allocations: 134.3 kB / 0.5701 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.7002, allocations: 11.98 kB / 0.5702 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.7003, allocations: 16.73 kB / 0.5702 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7003, allocations: 4 kB / 0.5702 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.7003, allocations: 1.188 kB / 0.5702 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7003, allocations: 0 / 0.5702 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.7008, allocations: 209.5 kB / 0.5704 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.7008, allocations: 3.828 kB / 0.5704 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.701, allocations: 12 kB / 0.5704 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.7013, allocations: 29.7 kB / 0.5704 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.7013, allocations: 8 kB / 0.5704 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/0.7043, allocations: 2.543 MB / 0.5729 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7044, allocations: 0 / 0.5729 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.705, allocations: 305.2 kB / 0.5732 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.7051, allocations: 97.06 kB / 0.5733 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.7051, allocations: 0 / 0.5733 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.7053, allocations: 4 kB / 0.5733 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.7054, allocations: 11.98 kB / 0.5733 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.7054, allocations: 3.125 kB / 0.5733 GB, free: 5.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.7055, allocations: 93.47 kB / 0.5734 GB, free: 5.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7055, allocations: 0 / 0.5734 GB, free: 5.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007204/0.7063, allocations: 44.14 kB / 0.5734 GB, free: 5.73 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.0002105/0.7065, allocations: 99.19 kB / 0.5735 GB, free: 5.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007634/0.7073, allocations: 303.8 kB / 0.5738 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7073, allocations: 0 / 0.5738 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004238/0.7077, allocations: 261.2 kB / 0.5741 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.7086, allocations: 19.98 kB / 0.5741 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.7102, allocations: 0.5821 MB / 0.5747 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.7108, allocations: 0.7083 MB / 0.5754 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.7108, allocations: 11.44 kB / 0.5754 GB, free: 3.648 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7108, allocations: 0 / 0.5754 GB, free: 3.648 MB / 394.7 MB Notification: Performance of Templates: time 0.007733/0.7186, allocations: 2.429 MB / 0.5777 GB, free: 1.23 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