Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",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.001803/0.001803, allocations: 104 kB / 16.27 MB, free: 6.043 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.002151/0.002151, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.589/1.589, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2189/0.2189, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.00155/0.001551, allocations: 70.88 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09928, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003482/0.1028, allocations: 2.601 MB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.1038, allocations: 0.6825 MB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.104, allocations: 11.94 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.1042, allocations: 47.52 kB / 444 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.1044, allocations: 83.27 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1046, allocations: 83.83 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1049, allocations: 330.6 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.1051, allocations: 81.88 kB / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1052, allocations: 123.6 kB / 444.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1054, allocations: 139.3 kB / 444.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.1054, allocations: 20 kB / 444.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.1055, allocations: 24 kB / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.1055, allocations: 55.72 kB / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1056, allocations: 147.3 kB / 445 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1059, allocations: 294.8 kB / 445.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1059, allocations: 0 / 445.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1059, allocations: 0 / 445.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1059, allocations: 0 / 445.3 MB, free: 2.094 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007444/0.1067, allocations: 0.5923 MB / 445.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1067, allocations: 11.89 kB / 445.9 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1068, allocations: 62.72 kB / 446 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.1068, allocations: 32.56 kB / 446 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1071, allocations: 259.7 kB / 446.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1071, allocations: 24.94 kB / 446.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.1071, allocations: 28.28 kB / 446.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.1075, allocations: 278.1 kB / 446.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1075, allocations: 0 / 446.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1076, allocations: 12 kB / 446.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.1076, allocations: 12 kB / 446.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.1079, allocations: 183.8 kB / 446.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1095, allocations: 1.31 MB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.11, allocations: 250.3 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1102, allocations: 107.5 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1102, allocations: 0 / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1103, allocations: 46.5 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.1103, allocations: 0 / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002701/0.113, allocations: 1.562 MB / 450 MB, free: 12.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.1131, allocations: 136.5 kB / 450.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1133, allocations: 232.8 kB / 450.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1134, allocations: 29.7 kB / 450.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1135, allocations: 172.3 kB / 450.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/0.1136, allocations: 114.3 kB / 450.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1137, allocations: 74.12 kB / 450.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1139, allocations: 330.8 kB / 451.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.1141, allocations: 104.8 kB / 451.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.1145, allocations: 241.4 kB / 451.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.1151, allocations: 369.1 kB / 451.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1151, allocations: 3.938 kB / 451.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007543/0.1159, allocations: 401 kB / 452.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1159, allocations: 12.06 kB / 452.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1159, allocations: 4 kB / 452.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.1159, allocations: 8 kB / 452.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1163, allocations: 99.81 kB / 452.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1163, allocations: 8 kB / 452.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.1166, allocations: 23.98 kB / 452.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.1166, allocations: 19.98 kB / 452.4 MB, free: 10.33 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1168, allocations: 169.5 kB / 452.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1169, allocations: 27.62 kB / 452.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.117, allocations: 33.7 kB / 452.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.117, allocations: 4 kB / 452.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.117, allocations: 192 / 452.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1171, allocations: 0 / 452.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1187, allocations: 0.9893 MB / 453.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1187, allocations: 0 / 453.6 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.119, allocations: 84.31 kB / 453.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.119, allocations: 4 kB / 453.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1191, allocations: 7.938 kB / 453.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.681e-05/0.1191, allocations: 8 kB / 453.7 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1191, allocations: 4 kB / 453.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.1201, allocations: 0.7363 MB / 454.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.1202, allocations: 100.8 kB / 454.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.1202, allocations: 12 kB / 454.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.1205, allocations: 15.98 kB / 454.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.1206, allocations: 23.97 kB / 454.6 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1206, allocations: 12 kB / 454.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1207, allocations: 160.5 kB / 454.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 454.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.1212, allocations: 64 kB / 454.8 MB, free: 7.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/0.1226, allocations: 1.266 MB / 456.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.1232, allocations: 299.8 kB / 456.4 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1233, allocations: 0 / 456.4 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.1235, allocations: 136.7 kB / 456.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.1243, allocations: 44.44 kB / 456.6 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.1288, allocations: 3.483 MB / 460 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1292, allocations: 0.7642 MB / 460.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1293, allocations: 38.94 kB / 460.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.1295, allocations: 91.41 kB / 460.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1295, allocations: 0 / 460.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.1566, allocations: 5.217 MB / 466.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.786, allocations: 8.953 kB / 466.2 MB, free: 12.17 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches