Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 112.8 kB / 17.08 MB, free: 5.816 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.001428/0.001428, allocations: 193.3 kB / 18.01 MB, free: 4.965 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.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2069/0.2069, allocations: 43.53 MB / 314.8 MB, free: 472 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.001442/0.001442, allocations: 63.91 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004663/0.1184, allocations: 2.838 MB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.12, allocations: 0.7604 MB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.1204, allocations: 7.938 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1207, allocations: 59.38 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.1211, allocations: 118.9 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1215, allocations: 99.8 kB / 0.4923 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.1221, allocations: 438.4 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.1224, allocations: 190 kB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1227, allocations: 179.3 kB / 0.4931 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.123, allocations: 199.2 kB / 0.4933 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.1231, allocations: 32 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.1232, allocations: 36 kB / 0.4933 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1233, allocations: 79.7 kB / 0.4934 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1235, allocations: 202.9 kB / 0.4936 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1239, allocations: 454.4 kB / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.124, allocations: 0 / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.124, allocations: 0 / 0.494 GB, free: 6.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.124, allocations: 0 / 0.494 GB, free: 6.145 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001066/0.1251, allocations: 0.6707 MB / 0.4947 GB, free: 5.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1251, allocations: 11.89 kB / 0.4947 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.1252, allocations: 40.47 kB / 0.4947 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.1256, allocations: 292.5 kB / 0.495 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1257, allocations: 25.38 kB / 0.495 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.1257, allocations: 52.28 kB / 0.4951 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.1264, allocations: 393.3 kB / 0.4955 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1264, allocations: 0 / 0.4955 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.1265, allocations: 16 kB / 0.4955 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1265, allocations: 8 kB / 0.4955 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.127, allocations: 247.8 kB / 0.4957 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1286, allocations: 1.101 MB / 0.4968 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/0.1291, allocations: 347.4 kB / 0.4971 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.1294, allocations: 175.2 kB / 0.4973 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.1294, allocations: 15.94 kB / 0.4973 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1295, allocations: 38.56 kB / 0.4974 GB, free: 2.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.1295, allocations: 0 / 0.4974 GB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003983/0.1335, allocations: 2.442 MB / 0.4997 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.1336, allocations: 118.7 kB / 0.4999 GB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1338, allocations: 242.6 kB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.1339, allocations: 29.7 kB / 0.5001 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.134, allocations: 188.7 kB / 0.5003 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1341, allocations: 193 kB / 0.5005 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1343, allocations: 90.16 kB / 0.5006 GB, free: 14.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1344, allocations: 350.7 kB / 0.5009 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.1348, allocations: 133 kB / 0.501 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.1351, allocations: 235.8 kB / 0.5013 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.1357, allocations: 394 kB / 0.5016 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1358, allocations: 4 kB / 0.5016 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001022/0.1368, allocations: 0.5499 MB / 0.5022 GB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.1368, allocations: 11.98 kB / 0.5022 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1368, allocations: 4 kB / 0.5022 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.1372, allocations: 122.9 kB / 0.5023 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.1376, allocations: 103.8 kB / 0.5024 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.142, allocations: 5.209 MB / 0.5075 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.1423, allocations: 24.02 kB / 0.5075 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1423, allocations: 16.06 kB / 0.5075 GB, free: 7.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.1425, allocations: 169.7 kB / 0.5077 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1426, allocations: 39.53 kB / 0.5077 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1428, allocations: 46.16 kB / 0.5078 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1428, allocations: 8 kB / 0.5078 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.1428, allocations: 8.125 kB / 0.5078 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1428, allocations: 7.984 kB / 0.5078 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.1448, allocations: 1.316 MB / 0.5091 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1449, allocations: 0 / 0.5091 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.1453, allocations: 99.81 kB / 0.5092 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.1456, allocations: 90.52 kB / 0.5093 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.1456, allocations: 20.03 kB / 0.5093 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.1488, allocations: 4.427 MB / 0.5136 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1488, allocations: 8.094 kB / 0.5136 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1501, allocations: 0.9258 MB / 0.5145 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1503, allocations: 108.7 kB / 0.5146 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.1503, allocations: 12 kB / 0.5146 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1506, allocations: 15.98 kB / 0.5146 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1507, allocations: 51.88 kB / 0.5147 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1507, allocations: 16 kB / 0.5147 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.1509, allocations: 170 kB / 0.5149 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1509, allocations: 3.938 kB / 0.5149 GB, free: 15.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006899/0.1516, allocations: 124 kB / 0.515 GB, free: 15.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.1518, allocations: 111.2 kB / 0.5151 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.1531, allocations: 0.769 MB / 0.5158 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1531, allocations: 192 / 0.5158 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.1539, allocations: 0.5739 MB / 0.5164 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.1545, allocations: 69.36 kB / 0.5165 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1564, allocations: 1.122 MB / 0.5176 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.1569, allocations: 0.8124 MB / 0.5184 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.157, allocations: 35.42 kB / 0.5184 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.324e-06/0.157, allocations: 0 / 0.5184 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01156/0.1686, allocations: 9.332 MB / 0.5275 GB, free: 2.07 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches