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.001368/0.001368, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001288/0.001288, allocations: 189.5 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.552/1.552, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2403/0.2403, allocations: 43.53 MB / 314.1 MB, free: 452 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.003582/0.003582, allocations: 69.45 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1382, 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.003977/0.1422, allocations: 1.667 MB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000388/0.1427, allocations: 107.6 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1428, allocations: 7.938 kB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.95e-05/0.1429, allocations: 11.86 kB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1431, allocations: 35.69 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.1433, allocations: 31.95 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1435, allocations: 127.4 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1437, allocations: 33.09 kB / 0.4893 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1438, allocations: 51.78 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1439, allocations: 47.78 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1439, allocations: 12 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.144, allocations: 12 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.144, allocations: 23.92 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.1441, allocations: 59.72 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1445, allocations: 119.5 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1445, allocations: 0 / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1445, allocations: 0 / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1445, allocations: 3.984 kB / 0.4897 GB, free: 9.949 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.0007018/0.1452, allocations: 403.2 kB / 0.49 GB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1453, allocations: 15.89 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.1453, allocations: 50.67 kB / 0.4901 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.1454, allocations: 16.84 kB / 0.4901 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1457, allocations: 188.2 kB / 0.4903 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1457, allocations: 8.609 kB / 0.4903 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.1458, allocations: 20.31 kB / 0.4903 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1461, allocations: 133.5 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.1461, allocations: 7.938 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1461, allocations: 4 kB / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1461, allocations: 7.938 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1463, allocations: 55.97 kB / 0.4905 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009836/0.1473, allocations: 0.5451 MB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1474, allocations: 89.12 kB / 0.4911 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.1475, allocations: 37.77 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1475, allocations: 4 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1476, allocations: 30.56 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.1476, allocations: 0 / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007454/0.1483, allocations: 301.4 kB / 0.4915 GB, free: 7.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.1484, allocations: 81.11 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1485, allocations: 113.8 kB / 0.4917 GB, free: 7.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1486, allocations: 33.7 kB / 0.4917 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1487, allocations: 119.7 kB / 0.4918 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.009e-05/0.1487, allocations: 35.73 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.1488, allocations: 33.7 kB / 0.4919 GB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.149, allocations: 326.7 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.149, allocations: 19.98 kB / 0.4922 GB, free: 7.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.1491, allocations: 84.58 kB / 0.4923 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1493, allocations: 124.5 kB / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1493, allocations: 0 / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003304/0.1496, allocations: 175 kB / 0.4926 GB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1497, allocations: 4 kB / 0.4926 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1497, allocations: 7.938 kB / 0.4926 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.1499, allocations: 37.95 kB / 0.4926 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.15, allocations: 19.94 kB / 0.4927 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.1525, allocations: 2.75 MB / 0.4954 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.1526, allocations: 11.89 kB / 0.4954 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.1526, allocations: 8 kB / 0.4954 GB, free: 3.434 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.0001326/0.1527, allocations: 121.8 kB / 0.4955 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.1528, allocations: 15.98 kB / 0.4955 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.1528, allocations: 19.89 kB / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1528, allocations: 0 / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1528, allocations: 0 / 0.4955 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1529, allocations: 4 kB / 0.4955 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1532, allocations: 197.6 kB / 0.4957 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1532, allocations: 0 / 0.4957 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.1533, allocations: 15.94 kB / 0.4957 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.1534, allocations: 37.64 kB / 0.4958 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1534, allocations: 8 kB / 0.4958 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.1556, allocations: 2.742 MB / 0.4985 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1556, allocations: 0 / 0.4985 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1559, allocations: 312.3 kB / 0.4987 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.156, allocations: 85.06 kB / 0.4988 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.156, allocations: 0 / 0.4988 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1561, allocations: 4.062 kB / 0.4988 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.1562, allocations: 12.03 kB / 0.4988 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1562, allocations: 4 kB / 0.4988 GB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.35e-05/0.1563, allocations: 91.7 kB / 0.4989 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1563, allocations: 0 / 0.4989 GB, free: 15.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.1566, allocations: 35.94 kB / 0.499 GB, free: 15.35 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.0007191/0.1573, allocations: 0.8347 MB / 0.4998 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.1579, allocations: 305.6 kB / 0.5001 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.1579, allocations: 0 / 0.5001 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.1582, allocations: 257.3 kB / 0.5003 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.1588, allocations: 43.8 kB / 0.5004 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1612, allocations: 1.964 MB / 0.5023 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1616, allocations: 0.7123 MB / 0.503 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.453e-05/0.1616, allocations: 8.891 kB / 0.503 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.1617, allocations: 31.42 kB / 0.503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1617, allocations: 3.938 kB / 0.503 GB, free: 10.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.1952, allocations: 3 MB / 0.506 GB, free: 7.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.31, allocations: 11.98 kB / 0.506 GB, free: 7.926 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