Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_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.001828/0.001828, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.002093/0.002093, allocations: 191.9 kB / 18.56 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.17 MB / 336.6 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 69.11 kB / 408.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 60.82 MB / 469.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003012/0.127, allocations: 1.644 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.1273, allocations: 107.6 kB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.1273, allocations: 4 kB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.1274, allocations: 11.86 kB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1275, allocations: 47.62 kB / 471.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.1277, allocations: 23.98 kB / 471.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1278, allocations: 127.4 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.128, allocations: 36.97 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.1281, allocations: 43.86 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.1282, allocations: 55.77 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1282, allocations: 8 kB / 471.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.1282, allocations: 8 kB / 471.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.1283, allocations: 23.92 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.1284, allocations: 55.73 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1285, allocations: 123.8 kB / 471.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1285, allocations: 0 / 471.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1285, allocations: 0 / 471.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1286, allocations: 0 / 471.7 MB, free: 11.99 MB / 350.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.0005288/0.1291, allocations: 415.3 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1291, allocations: 12.03 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1292, allocations: 38.75 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1292, allocations: 20.73 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1294, allocations: 192.2 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1294, allocations: 12.61 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1295, allocations: 20.27 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1297, allocations: 131.4 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1297, allocations: 7.938 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1298, allocations: 4 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1298, allocations: 4 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1299, allocations: 66.66 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.1306, allocations: 0.5411 MB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1308, allocations: 81.08 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.1308, allocations: 37.83 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1308, allocations: 0 / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1309, allocations: 38.5 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1309, allocations: 4 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005951/0.1315, allocations: 301.4 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1316, allocations: 77.11 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1317, allocations: 121.8 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1317, allocations: 25.7 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.1318, allocations: 123.6 kB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1318, allocations: 35.48 kB / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.1319, allocations: 29.7 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.132, allocations: 322.7 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.1321, allocations: 27.98 kB / 474.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.1322, allocations: 88.52 kB / 474.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1323, allocations: 120.5 kB / 474.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1323, allocations: 4 kB / 474.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002703/0.1326, allocations: 167.6 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1326, allocations: 8 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1326, allocations: 7.922 kB / 474.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.1328, allocations: 41.7 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.1329, allocations: 16 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.1348, allocations: 2.742 MB / 477.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.1349, allocations: 11.94 kB / 477.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1349, allocations: 4 kB / 477.5 MB, free: 5.484 MB / 350.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.0001032/0.135, allocations: 125.8 kB / 477.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1351, allocations: 11.84 kB / 477.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.1351, allocations: 11.89 kB / 477.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1351, allocations: 4 kB / 477.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1351, allocations: 8.062 kB / 477.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1352, allocations: 0 / 477.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1354, allocations: 201.6 kB / 477.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1354, allocations: 3.984 kB / 477.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.1355, allocations: 16 kB / 477.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.1356, allocations: 37.58 kB / 477.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1356, allocations: 7.984 kB / 477.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.1374, allocations: 2.726 MB / 480.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1374, allocations: 0 / 480.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1377, allocations: 304.3 kB / 480.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1378, allocations: 81.02 kB / 481 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1378, allocations: 8 kB / 481 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.1379, allocations: 64 / 481 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.1379, allocations: 15.97 kB / 481 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1379, allocations: 0 / 481 MB, free: 1.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.138, allocations: 103.2 kB / 481.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.138, allocations: 0 / 481.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1383, allocations: 35.94 kB / 481.2 MB, free: 1.414 MB / 350.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.0005484/0.1389, allocations: 0.8383 MB / 482 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.1393, allocations: 305.6 kB / 482.3 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1393, allocations: 12.06 kB / 482.3 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.1396, allocations: 253.4 kB / 482.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1401, allocations: 23.92 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1421, allocations: 1.967 MB / 484.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1424, allocations: 0.7123 MB / 485.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.1424, allocations: 4.891 kB / 485.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.1425, allocations: 31.53 kB / 485.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1425, allocations: 0 / 485.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1675, allocations: 2.931 MB / 488.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.319/9.486, allocations: 11.5 kB / 488.3 MB, free: 10.19 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches