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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.001473/0.001479, allocations: 104.6 kB / 16.4 MB, free: 6.504 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.001718/0.001718, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2276/0.2276, allocations: 43.52 MB / 314.1 MB, free: 444 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.001557/0.001557, allocations: 69.47 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003911/0.1294, allocations: 1.664 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.1299, allocations: 107.6 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1301, allocations: 0 / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.069e-05/0.1302, allocations: 15.86 kB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1304, allocations: 35.7 kB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1306, allocations: 31.89 kB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1308, allocations: 119.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1309, allocations: 41.31 kB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1311, allocations: 55.78 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1312, allocations: 51.78 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1312, allocations: 8 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.855e-05/0.1313, allocations: 8 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.1313, allocations: 23.92 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.28e-05/0.1314, allocations: 63.72 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1316, allocations: 119.6 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1316, allocations: 0 / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1316, allocations: 0 / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1317, allocations: 0 / 0.4897 GB, free: 9.957 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.0007233/0.1324, allocations: 415.3 kB / 0.49 GB, free: 9.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.1325, allocations: 15.83 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.427e-05/0.1326, allocations: 46.73 kB / 0.4901 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1326, allocations: 12.84 kB / 0.4901 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1329, allocations: 200.2 kB / 0.4903 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1329, allocations: 8.609 kB / 0.4903 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.133, allocations: 16.31 kB / 0.4903 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1332, allocations: 125.5 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.1333, allocations: 11.84 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1333, allocations: 8 kB / 0.4905 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1333, allocations: 4 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1335, allocations: 59.89 kB / 0.4905 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.1342, allocations: 0.5372 MB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1344, allocations: 89.16 kB / 0.4911 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.1344, allocations: 29.66 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.1344, allocations: 0 / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1345, allocations: 38.56 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1345, allocations: 0 / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.1351, allocations: 301.5 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1351, allocations: 81.05 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.1352, allocations: 125.8 kB / 0.4917 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1353, allocations: 29.7 kB / 0.4917 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.1354, allocations: 119.5 kB / 0.4918 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1354, allocations: 35.53 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.1354, allocations: 33.72 kB / 0.4919 GB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1356, allocations: 326.8 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.1356, allocations: 16 kB / 0.4922 GB, free: 7.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.1357, allocations: 84.56 kB / 0.4923 GB, free: 6.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1358, allocations: 124.8 kB / 0.4924 GB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1359, allocations: 4 kB / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002715/0.1361, allocations: 167 kB / 0.4926 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1362, allocations: 8 kB / 0.4926 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1362, allocations: 3.938 kB / 0.4926 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.1364, allocations: 45.89 kB / 0.4926 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.1365, allocations: 23.92 kB / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.1384, allocations: 2.738 MB / 0.4953 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.1385, allocations: 7.906 kB / 0.4954 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1385, allocations: 4 kB / 0.4954 GB, free: 3.449 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.0001119/0.1387, allocations: 137.8 kB / 0.4955 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.1387, allocations: 19.83 kB / 0.4955 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.1388, allocations: 11.91 kB / 0.4955 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1388, allocations: 4 kB / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1388, allocations: 0 / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.1388, allocations: 0 / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.139, allocations: 197.6 kB / 0.4957 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1391, allocations: 0 / 0.4957 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.1391, allocations: 12 kB / 0.4957 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.564e-05/0.1393, allocations: 37.64 kB / 0.4958 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1393, allocations: 11.98 kB / 0.4958 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.1411, allocations: 2.722 MB / 0.4984 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1411, allocations: 0 / 0.4984 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.1415, allocations: 316.3 kB / 0.4987 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1415, allocations: 88.89 kB / 0.4988 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1415, allocations: 4 kB / 0.4988 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.1416, allocations: 4.062 kB / 0.4988 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.1417, allocations: 12.03 kB / 0.4988 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1417, allocations: 0 / 0.4988 GB, free: 15.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.017e-05/0.1418, allocations: 95.27 kB / 0.4989 GB, free: 15.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1418, allocations: 0 / 0.4989 GB, free: 15.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.1421, allocations: 35.91 kB / 0.499 GB, free: 15.36 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.0006188/0.1427, allocations: 0.8344 MB / 0.4998 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004807/0.1432, allocations: 301.6 kB / 0.5001 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1433, allocations: 4 kB / 0.5001 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.1435, allocations: 261.5 kB / 0.5003 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.144, allocations: 35.34 kB / 0.5003 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1461, allocations: 1.962 MB / 0.5023 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1464, allocations: 0.7084 MB / 0.503 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.098e-05/0.1465, allocations: 12.88 kB / 0.503 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.1465, allocations: 35.69 kB / 0.503 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1465, allocations: 0 / 0.503 GB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.1729, allocations: 3.048 MB / 0.506 GB, free: 7.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.322/9.495, allocations: 11.94 kB / 0.506 GB, free: 7.902 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > 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