Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters",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.001672/0.001672, allocations: 106.1 kB / 16.41 MB, free: 6.445 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.00188/0.00188, allocations: 189.6 kB / 17.34 MB, free: 5.711 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2122/0.2122, allocations: 43.53 MB / 314.1 MB, free: 460 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.00207/0.00207, allocations: 74.02 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1114, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003072/0.1145, allocations: 1.686 MB / 0.489 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1157, allocations: 0.6437 MB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.1158, allocations: 0 / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.1159, allocations: 15.8 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.116, allocations: 19.81 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.1164, allocations: 143.7 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1167, allocations: 155.6 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1168, allocations: 37.08 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.117, allocations: 75.69 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1171, allocations: 63.73 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1171, allocations: 16 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-05/0.1172, allocations: 16 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.1172, allocations: 31.91 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1173, allocations: 63.64 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1175, allocations: 139.4 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1176, allocations: 4 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1176, allocations: 0 / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1176, allocations: 0 / 0.4904 GB, free: 9.184 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007197/0.1183, allocations: 462.7 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.1184, allocations: 15.89 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.1184, allocations: 42.73 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1185, allocations: 20.78 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1188, allocations: 228.1 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1189, allocations: 4.375 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.1189, allocations: 12.38 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.1193, allocations: 176.3 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1194, allocations: 0 / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1194, allocations: 4 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1194, allocations: 4 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.1198, allocations: 123.8 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009861/0.1208, allocations: 460.4 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.1214, allocations: 190.5 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1217, allocations: 72.8 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1217, allocations: 4.141 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1218, allocations: 38.56 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1218, allocations: 0 / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001595/0.1234, allocations: 0.5719 MB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.1235, allocations: 106.8 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1237, allocations: 172.4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1237, allocations: 29.7 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.1238, allocations: 108.1 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1239, allocations: 27.75 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.1239, allocations: 29.7 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1241, allocations: 322.8 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1243, allocations: 76.8 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.1246, allocations: 98.44 kB / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.1251, allocations: 136.8 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1251, allocations: 0 / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000534/0.1256, allocations: 193.4 kB / 0.494 GB, free: 5.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1256, allocations: 6.656 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1257, allocations: 4.312 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1257, allocations: 3.938 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1259, allocations: 35.97 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1259, allocations: 0 / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1261, allocations: 35.89 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1261, allocations: 4 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001649/0.1263, allocations: 120.1 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001438/0.1264, allocations: 58.48 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001991/0.1266, allocations: 80.84 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.1266, allocations: 0 / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002622/0.1269, allocations: 113.5 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.1269, allocations: 8 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1269, allocations: 3.984 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/0.1269, allocations: 0 / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.127, allocations: 19.98 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.127, allocations: 3.938 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.1272, allocations: 19.98 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1272, allocations: 7.938 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.0001313/0.1273, allocations: 188.2 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.1274, allocations: 19.91 kB / 0.4947 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.1274, allocations: 13.39 kB / 0.4947 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1274, allocations: 7.938 kB / 0.4947 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1274, allocations: 0 / 0.4947 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1274, allocations: 0 / 0.4947 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.1284, allocations: 0.5111 MB / 0.4952 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1284, allocations: 0 / 0.4952 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1286, allocations: 40 kB / 0.4952 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1286, allocations: 3.938 kB / 0.4952 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1287, allocations: 4 kB / 0.4953 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1287, allocations: 0 / 0.4953 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1287, allocations: 3.938 kB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.1295, allocations: 364 kB / 0.4956 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.1296, allocations: 89.05 kB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.1297, allocations: 8.062 kB / 0.4957 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.13, allocations: 35.95 kB / 0.4957 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.13, allocations: 15.92 kB / 0.4957 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.13, allocations: 4 kB / 0.4958 GB, free: 3.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1302, allocations: 127.5 kB / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 4 kB / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1305, allocations: 32 kB / 0.4959 GB, free: 3.109 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001171/0.1317, allocations: 0.8849 MB / 0.4968 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.1323, allocations: 203.8 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1324, allocations: 0 / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.1326, allocations: 81.06 kB / 0.497 GB, free: 1.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.133, allocations: 47.59 kB / 0.4971 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.136, allocations: 1.958 MB / 0.499 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1364, allocations: 0.7123 MB / 0.4997 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.1365, allocations: 24.47 kB / 0.4997 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.1366, allocations: 43.42 kB / 0.4998 GB, free: 15.03 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1366, allocations: 0 / 0.4998 GB, free: 15.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.1639, allocations: 3.909 MB / 0.5036 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.413, allocations: 4.062 kB / 0.5036 GB, free: 11.11 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_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_Blocks_Limiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches