Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_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.001614/0.001614, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001986/0.001986, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.396/1.396, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2179/0.2179, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.8 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004343/0.1129, allocations: 2.833 MB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1142, allocations: 0.7128 MB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1144, allocations: 11.94 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1147, allocations: 55.39 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1149, allocations: 126.9 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1152, allocations: 95.81 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1157, allocations: 442.4 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.1159, allocations: 190.1 kB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.1162, allocations: 171.3 kB / 474 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1164, allocations: 187.2 kB / 474.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.1165, allocations: 36 kB / 474.2 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.1166, allocations: 36 kB / 474.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1167, allocations: 79.69 kB / 474.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1169, allocations: 210.9 kB / 474.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1173, allocations: 438.7 kB / 474.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1173, allocations: 0 / 474.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1173, allocations: 0 / 474.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1173, allocations: 0 / 474.9 MB, free: 8.656 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001079/0.1184, allocations: 0.6707 MB / 475.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1185, allocations: 8.031 kB / 475.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.553e-05/0.1186, allocations: 78.72 kB / 475.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1186, allocations: 48.38 kB / 475.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.119, allocations: 284.6 kB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.119, allocations: 29.38 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.1191, allocations: 40.38 kB / 476.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.1197, allocations: 385.1 kB / 476.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.1197, allocations: 11.89 kB / 476.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.1198, allocations: 20 kB / 476.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.1198, allocations: 8 kB / 476.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.1202, allocations: 235.9 kB / 476.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.1218, allocations: 1.112 MB / 477.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.1223, allocations: 351.1 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1226, allocations: 178.4 kB / 478.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1227, allocations: 4 kB / 478.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1227, allocations: 42.5 kB / 478.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/0.1227, allocations: 4 kB / 478.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.0038/0.1265, allocations: 2.437 MB / 480.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.1266, allocations: 118.7 kB / 481 MB, free: 2.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1269, allocations: 234.6 kB / 481.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1269, allocations: 33.7 kB / 481.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.127, allocations: 184.7 kB / 481.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1272, allocations: 205 kB / 481.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1273, allocations: 86.19 kB / 481.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1275, allocations: 350.7 kB / 482 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1277, allocations: 129.1 kB / 482.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.128, allocations: 227.8 kB / 482.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007044/0.1287, allocations: 401.9 kB / 482.8 MB, free: 208 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1288, allocations: 0 / 482.8 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001029/0.1298, allocations: 0.5577 MB / 483.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1298, allocations: 8 kB / 483.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1298, allocations: 3.938 kB / 483.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.1302, allocations: 126.6 kB / 483.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.1306, allocations: 95.81 kB / 483.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.1347, allocations: 5.213 MB / 488.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.1349, allocations: 20.02 kB / 488.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.1349, allocations: 20 kB / 488.8 MB, free: 9.723 MB / 366.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.0002071/0.1352, allocations: 165.7 kB / 489 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.1353, allocations: 35.53 kB / 489 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.1354, allocations: 50.17 kB / 489.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1354, allocations: 12.06 kB / 489.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.1354, allocations: 3.938 kB / 489.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1354, allocations: 7.984 kB / 489.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.1373, allocations: 1.331 MB / 490.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1373, allocations: 0 / 490.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.1377, allocations: 95.89 kB / 490.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.138, allocations: 98.55 kB / 490.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.138, allocations: 15.98 kB / 490.6 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/0.1419, allocations: 4.431 MB / 495 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1419, allocations: 0 / 495 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1432, allocations: 0.927 MB / 496 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1434, allocations: 112.6 kB / 496.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.1434, allocations: 12.19 kB / 496.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.1437, allocations: 23.98 kB / 496.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1438, allocations: 47.88 kB / 496.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1438, allocations: 15.94 kB / 496.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.144, allocations: 174 kB / 496.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.144, allocations: 0 / 496.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.1448, allocations: 124 kB / 496.5 MB, free: 1.488 MB / 366.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.001603/0.1464, allocations: 1.466 MB / 497.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.1478, allocations: 0.7963 MB / 498.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1478, allocations: 0 / 498.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.1486, allocations: 0.5731 MB / 499.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.1493, allocations: 60.47 kB / 499.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.1549, allocations: 4.171 MB / 0.4917 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.1553, allocations: 0.8202 MB / 0.4925 GB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.1555, allocations: 39.25 kB / 0.4926 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1557, allocations: 127.4 kB / 0.4927 GB, free: 9.098 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1557, allocations: 0 / 0.4927 GB, free: 9.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.1865, allocations: 8.093 MB / 0.5006 GB, free: 1.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.641/9.828, allocations: 5.094 kB / 0.5006 GB, free: 1.125 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches