Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 114.6 kB / 17.05 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 192.2 kB / 17.98 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.199/0.199, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 69.45 kB / 442.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.126, allocations: 57.78 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003065/0.1292, allocations: 1.661 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000341/0.1296, allocations: 115.6 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.1297, allocations: 0 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.1298, allocations: 15.8 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.1299, allocations: 31.7 kB / 0.4902 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.1301, allocations: 23.97 kB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1302, allocations: 131.4 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1304, allocations: 41.08 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.1305, allocations: 43.86 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.1306, allocations: 43.8 kB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1307, allocations: 12 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.273e-05/0.1307, allocations: 8 kB / 0.4905 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.1307, allocations: 31.84 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.1308, allocations: 59.73 kB / 0.4906 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.131, allocations: 131.5 kB / 0.4907 GB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.131, allocations: 0 / 0.4907 GB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.131, allocations: 0 / 0.4907 GB, free: 9.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.131, allocations: 0 / 0.4907 GB, free: 9.504 MB / 382.1 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.0005314/0.1316, allocations: 403.4 kB / 0.4911 GB, free: 9.055 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1316, allocations: 11.89 kB / 0.4911 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1317, allocations: 12.84 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1319, allocations: 200.1 kB / 0.4913 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1319, allocations: 20.55 kB / 0.4914 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.132, allocations: 12.38 kB / 0.4914 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1322, allocations: 129.5 kB / 0.4915 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1322, allocations: 4.172 kB / 0.4915 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1322, allocations: 11.88 kB / 0.4915 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1322, allocations: 4 kB / 0.4915 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1324, allocations: 51.97 kB / 0.4916 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.1331, allocations: 0.541 MB / 0.4921 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1333, allocations: 85.17 kB / 0.4922 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.1333, allocations: 33.78 kB / 0.4922 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1333, allocations: 11.94 kB / 0.4922 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1334, allocations: 34.5 kB / 0.4923 GB, free: 7.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.1334, allocations: 0 / 0.4923 GB, free: 7.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006286/0.134, allocations: 297.4 kB / 0.4925 GB, free: 7.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1341, allocations: 85.11 kB / 0.4926 GB, free: 7.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1342, allocations: 125.8 kB / 0.4927 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1342, allocations: 25.7 kB / 0.4928 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.1343, allocations: 111.6 kB / 0.4929 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1343, allocations: 43.44 kB / 0.4929 GB, free: 7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.1344, allocations: 29.72 kB / 0.4929 GB, free: 6.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1345, allocations: 322.8 kB / 0.4932 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.1346, allocations: 27.92 kB / 0.4933 GB, free: 6.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.1346, allocations: 92.31 kB / 0.4934 GB, free: 6.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1348, allocations: 120.5 kB / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1348, allocations: 0 / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002834/0.1351, allocations: 171 kB / 0.4936 GB, free: 6.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1351, allocations: 4 kB / 0.4936 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1351, allocations: 4 kB / 0.4936 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.1353, allocations: 37.64 kB / 0.4937 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.1354, allocations: 35.92 kB / 0.4937 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.1375, allocations: 2.73 MB / 0.4964 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.1376, allocations: 12 kB / 0.4964 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1376, allocations: 15.94 kB / 0.4964 GB, free: 3.047 MB / 382.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1378, allocations: 121.7 kB / 0.4965 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.1378, allocations: 11.91 kB / 0.4965 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.1379, allocations: 15.84 kB / 0.4966 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1379, allocations: 0 / 0.4966 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1379, allocations: 4 kB / 0.4966 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1379, allocations: 7.984 kB / 0.4966 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1382, allocations: 189.6 kB / 0.4967 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1382, allocations: 4 kB / 0.4967 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.1383, allocations: 15.92 kB / 0.4968 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.1384, allocations: 41.64 kB / 0.4968 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1384, allocations: 3.938 kB / 0.4968 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.1404, allocations: 2.726 MB / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1404, allocations: 4.031 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.1408, allocations: 308.4 kB / 0.4998 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1408, allocations: 92.98 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1409, allocations: 0 / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.141, allocations: 4 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.141, allocations: 7.938 kB / 0.4999 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.141, allocations: 7.984 kB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.1411, allocations: 99.59 kB / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 0.5 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1415, allocations: 39.91 kB / 0.5 GB, free: 14.96 MB / 398.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.1416, allocations: 99.23 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.1421, allocations: 305.7 kB / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1421, allocations: 0 / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.1424, allocations: 257.4 kB / 0.5006 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.1429, allocations: 35.41 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.1438, allocations: 493.7 kB / 0.5011 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1441, allocations: 0.7084 MB / 0.5018 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1441, allocations: 11.44 kB / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.595e-06/0.1441, allocations: 4 kB / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004517/0.1486, allocations: 2.441 MB / 0.5042 GB, free: 10.52 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches