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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 109.5 kB / 16.41 MB, free: 6.5 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.00129/0.00129, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.223/0.223, allocations: 43.52 MB / 314.1 MB, free: 460 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.002057/0.002057, allocations: 69.45 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1145, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004277/0.1188, allocations: 2.83 MB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1202, allocations: 0.7564 MB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.1204, allocations: 8 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1206, allocations: 63.31 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1209, allocations: 126.9 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1212, allocations: 95.88 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.1217, allocations: 446.3 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.122, allocations: 186.1 kB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.1223, allocations: 171.3 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.1226, allocations: 195.1 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.1227, allocations: 36 kB / 0.4922 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.1227, allocations: 36 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.1228, allocations: 79.7 kB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.1231, allocations: 203 kB / 0.4925 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.1236, allocations: 458 kB / 0.4929 GB, free: 6.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1237, allocations: 4 kB / 0.4929 GB, free: 6.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1237, allocations: 0 / 0.4929 GB, free: 6.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1237, allocations: 0 / 0.4929 GB, free: 6.621 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.001126/0.1248, allocations: 0.6703 MB / 0.4936 GB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1249, allocations: 11.89 kB / 0.4936 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.205e-05/0.125, allocations: 74.72 kB / 0.4937 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.1251, allocations: 48.66 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.1255, allocations: 292.6 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.1256, allocations: 33.31 kB / 0.494 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.1257, allocations: 48.31 kB / 0.4941 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.1264, allocations: 385.2 kB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.1264, allocations: 7.984 kB / 0.4944 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.1265, allocations: 16 kB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1265, allocations: 8 kB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.127, allocations: 243.8 kB / 0.4947 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.1287, allocations: 1.105 MB / 0.4958 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.1293, allocations: 347.5 kB / 0.4961 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.1297, allocations: 179.2 kB / 0.4963 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.1297, allocations: 8 kB / 0.4963 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.1297, allocations: 42.44 kB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.973e-06/0.1297, allocations: 7.938 kB / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004044/0.1338, allocations: 2.452 MB / 0.4987 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.1339, allocations: 114.8 kB / 0.4988 GB, free: 56 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1342, allocations: 234.6 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.1342, allocations: 33.7 kB / 0.4991 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1343, allocations: 184.9 kB / 0.4993 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.1345, allocations: 214.2 kB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1346, allocations: 90.19 kB / 0.4995 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1348, allocations: 346.7 kB / 0.4999 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1351, allocations: 129.1 kB / 0.5 GB, free: 14.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1355, allocations: 235.8 kB / 0.5002 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.1361, allocations: 398 kB / 0.5006 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1361, allocations: 4 kB / 0.5006 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001073/0.1372, allocations: 0.5617 MB / 0.5012 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1372, allocations: 8 kB / 0.5012 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1373, allocations: 4 kB / 0.5012 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.1376, allocations: 118.5 kB / 0.5013 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.138, allocations: 95.88 kB / 0.5014 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.1428, allocations: 5.221 MB / 0.5065 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1431, allocations: 19.98 kB / 0.5065 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1432, allocations: 20 kB / 0.5065 GB, free: 7.629 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.0002476/0.1434, allocations: 165.7 kB / 0.5067 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1436, allocations: 39.83 kB / 0.5067 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1437, allocations: 50.17 kB / 0.5068 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1437, allocations: 8 kB / 0.5068 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.1437, allocations: 3.938 kB / 0.5068 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1437, allocations: 7.984 kB / 0.5068 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.1459, allocations: 1.317 MB / 0.5081 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.146, allocations: 0 / 0.5081 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.1464, allocations: 103.9 kB / 0.5082 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.1467, allocations: 106.4 kB / 0.5083 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.1468, allocations: 12 kB / 0.5083 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.1506, allocations: 4.423 MB / 0.5126 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1506, allocations: 4.031 kB / 0.5126 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.1521, allocations: 0.9377 MB / 0.5135 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1522, allocations: 104.9 kB / 0.5136 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.1523, allocations: 12.06 kB / 0.5136 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1525, allocations: 19.98 kB / 0.5136 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.1527, allocations: 48 kB / 0.5137 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.1527, allocations: 20 kB / 0.5137 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.1529, allocations: 170 kB / 0.5139 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1529, allocations: 0 / 0.5139 GB, free: 15.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007633/0.1537, allocations: 127.9 kB / 0.514 GB, free: 15.4 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.001796/0.1555, allocations: 1.476 MB / 0.5154 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1569, allocations: 0.7771 MB / 0.5162 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1569, allocations: 0 / 0.5162 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.1578, allocations: 0.5817 MB / 0.5168 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.1585, allocations: 56.94 kB / 0.5168 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006452/0.165, allocations: 4.149 MB / 0.5209 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.1655, allocations: 0.824 MB / 0.5217 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.1657, allocations: 35.27 kB / 0.5217 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.1659, allocations: 127.4 kB / 0.5218 GB, free: 7.039 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1659, allocations: 0 / 0.5218 GB, free: 7.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/0.4349, allocations: 8.279 MB / 0.5299 GB, free: 40.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.74, allocations: 5.234 kB / 0.5299 GB, free: 40.07 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/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