Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 78.69 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1043, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003209/0.1076, allocations: 1.682 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1088, allocations: 0.6546 MB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1089, allocations: 4 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.109, allocations: 15.86 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1091, allocations: 19.75 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.1096, allocations: 159.2 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1099, allocations: 147.7 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.11, allocations: 33.05 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1102, allocations: 75.75 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1103, allocations: 67.67 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.1103, allocations: 12 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.067e-05/0.1104, allocations: 20 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.1104, allocations: 35.84 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.1105, allocations: 59.7 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1107, allocations: 143.7 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1107, allocations: 0 / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1107, allocations: 0 / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1107, allocations: 0 / 483.2 MB, free: 2.078 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006479/0.1114, allocations: 451 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1114, allocations: 8.031 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1115, allocations: 50.73 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.1117, allocations: 24.73 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1119, allocations: 212 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1119, allocations: 8.375 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1119, allocations: 12.38 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.1123, allocations: 186.5 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1123, allocations: 0 / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1124, allocations: 0 / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1124, allocations: 4 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.1128, allocations: 119.9 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.1136, allocations: 468.3 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.1142, allocations: 186.5 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1145, allocations: 72.8 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.1145, allocations: 11.94 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1146, allocations: 30.56 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.1146, allocations: 0 / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001656/0.1162, allocations: 0.5721 MB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.1163, allocations: 110.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1165, allocations: 163.3 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1165, allocations: 25.7 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.1166, allocations: 104.1 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1166, allocations: 31.55 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.1167, allocations: 29.7 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1168, allocations: 322.8 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1171, allocations: 80.73 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.1173, allocations: 94.53 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.1177, allocations: 136.8 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1177, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004807/0.1182, allocations: 193.3 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1182, allocations: 4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1183, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1183, allocations: 7.938 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1185, allocations: 39.89 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1185, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.1186, allocations: 23.97 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1187, allocations: 4 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001366/0.1188, allocations: 116.1 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001123/0.1189, allocations: 58.55 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001822/0.1191, allocations: 85.19 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.1191, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002454/0.1194, allocations: 117.6 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1194, allocations: 4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.1194, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.1194, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.1195, allocations: 27.92 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1195, allocations: 7.938 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1196, allocations: 11.98 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1197, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.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.0001208/0.1198, allocations: 188.2 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.1198, allocations: 15.81 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.464e-05/0.1199, allocations: 13.41 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1199, allocations: 7.938 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1199, allocations: 8 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1199, allocations: 3.938 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.1209, allocations: 0.5108 MB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1209, allocations: 0 / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1211, allocations: 35.91 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1211, allocations: 0 / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1211, allocations: 7.984 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1211, allocations: 0 / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1211, allocations: 0 / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.1219, allocations: 368 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1219, allocations: 89.03 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.122, allocations: 0 / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.1222, allocations: 39.95 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1223, allocations: 4 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.1223, allocations: 8.234 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.1224, allocations: 120 kB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1224, allocations: 7.938 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1227, allocations: 32 kB / 488.8 MB, free: 12.05 MB / 366.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.0009786/0.1237, allocations: 0.8886 MB / 489.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.1243, allocations: 199.8 kB / 489.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1243, allocations: 0 / 489.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.1246, allocations: 87.92 kB / 490 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.125, allocations: 40.56 kB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.1276, allocations: 1.922 MB / 491.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1279, allocations: 0.7046 MB / 492.6 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.294e-05/0.128, allocations: 20.86 kB / 492.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.128, allocations: 39.42 kB / 492.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1281, allocations: 8.406 kB / 492.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.1492, allocations: 3.798 MB / 496.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.484, allocations: 11.61 kB / 496.5 MB, free: 4.266 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches