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.00157/0.001576, allocations: 188.6 kB / 16.4 MB, free: 5.625 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.159/2.159, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001133/0.001133, allocations: 94.86 kB / 270.9 MB, free: 13.38 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.2806/0.2806, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006318/0.0006318, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1195, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002352/0.1219, allocations: 1.292 MB / 491.5 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003446/0.1223, allocations: 111.7 kB / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.1224, allocations: 4 kB / 491.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.1224, allocations: 7.922 kB / 491.6 MB, free: 7.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1226, allocations: 39.91 kB / 491.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.1227, allocations: 15.97 kB / 491.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1229, allocations: 87.83 kB / 491.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1231, allocations: 29.09 kB / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.1232, allocations: 39.86 kB / 491.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1233, allocations: 47.78 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1233, allocations: 4 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.214e-05/0.1234, allocations: 8 kB / 491.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.1234, allocations: 11.92 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1235, allocations: 57.62 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1236, allocations: 92.03 kB / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1236, allocations: 0 / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1237, allocations: 0 / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1237, allocations: 0 / 492.1 MB, free: 7.488 MB / 330.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.0005777/0.1243, allocations: 383.2 kB / 492.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1243, allocations: 19.95 kB / 492.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1244, allocations: 7.906 kB / 492.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.1246, allocations: 190.9 kB / 492.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1247, allocations: 20.22 kB / 492.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.1247, allocations: 15.91 kB / 492.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.1251, allocations: 136.9 kB / 492.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1251, allocations: 0 / 492.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1251, allocations: 4 kB / 492.8 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1251, allocations: 4 kB / 492.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1253, allocations: 59.95 kB / 492.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1264, allocations: 0.5412 MB / 493.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1267, allocations: 85.14 kB / 493.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1267, allocations: 4.125 kB / 493.5 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.1267, allocations: 38.55 kB / 493.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.895e-06/0.1267, allocations: 4 kB / 493.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008292/0.1276, allocations: 305.4 kB / 493.8 MB, free: 5.457 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1277, allocations: 77.11 kB / 493.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1278, allocations: 121.8 kB / 494 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1278, allocations: 25.7 kB / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.128, allocations: 190 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.128, allocations: 31.56 kB / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.128, allocations: 0 / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1282, allocations: 326.8 kB / 494.6 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.1283, allocations: 23.92 kB / 494.6 MB, free: 4.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1284, allocations: 84.23 kB / 494.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1285, allocations: 40 kB / 494.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1285, allocations: 0 / 494.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004939/0.129, allocations: 167.2 kB / 494.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1291, allocations: 8 kB / 494.9 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1291, allocations: 4 kB / 494.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.1294, allocations: 38.11 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1295, allocations: 27.98 kB / 495 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.132, allocations: 2.544 MB / 497.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1322, allocations: 15.78 kB / 497.5 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1322, allocations: 4 kB / 497.5 MB, free: 1.398 MB / 330.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.0001493/0.1324, allocations: 129.7 kB / 497.7 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.1325, allocations: 8.188 kB / 497.7 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.1325, allocations: 15.89 kB / 497.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1325, allocations: 0 / 497.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1325, allocations: 4 kB / 497.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1325, allocations: 0 / 497.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.1329, allocations: 209.4 kB / 497.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.133, allocations: 0 / 497.9 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.1331, allocations: 15.98 kB / 497.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.1333, allocations: 29.7 kB / 498 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.1334, allocations: 16 kB / 498 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.1358, allocations: 2.533 MB / 0.4888 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1359, allocations: 0 / 0.4888 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.1363, allocations: 318.3 kB / 0.4891 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.1364, allocations: 81.02 kB / 0.4892 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1364, allocations: 8.031 kB / 0.4892 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1366, allocations: 4 kB / 0.4892 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1367, allocations: 7.953 kB / 0.4892 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1367, allocations: 4 kB / 0.4892 GB, free: 13.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.269e-05/0.1368, allocations: 99.64 kB / 0.4893 GB, free: 13.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1368, allocations: 0 / 0.4893 GB, free: 13.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005066/0.1373, allocations: 35.94 kB / 0.4893 GB, free: 13.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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.0001471/0.1375, allocations: 107.2 kB / 0.4894 GB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000584/0.1381, allocations: 297.6 kB / 0.4897 GB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1381, allocations: 0 / 0.4897 GB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.1385, allocations: 265.2 kB / 0.4899 GB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.139, allocations: 16.45 kB / 0.49 GB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1402, allocations: 0.5956 MB / 0.4905 GB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1406, allocations: 0.7122 MB / 0.4912 GB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.1407, allocations: 11.44 kB / 0.4912 GB, free: 11.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1407, allocations: 0 / 0.4912 GB, free: 11.4 MB / 346.7 MB Notification: Performance of Templates: time 0.006076/0.1468, allocations: 2.348 MB / 0.4935 GB, free: 9.051 MB / 346.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