Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_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.000932/0.0009318, allocations: 95.08 kB / 16.98 MB, free: 6.398 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.0009135/0.0009135, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.364/1.364, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2238/0.2238, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002206/0.1267, allocations: 1.349 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1277, allocations: 0.546 MB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.1278, allocations: 0 / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.1278, allocations: 3.938 kB / 473.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.128, allocations: 27.89 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1284, allocations: 114.6 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.1286, allocations: 83.83 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1288, allocations: 29.41 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1289, allocations: 63.75 kB / 473.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.129, allocations: 51.77 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1291, allocations: 8 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.1291, allocations: 8 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.1291, allocations: 31.89 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.1292, allocations: 41.64 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1294, allocations: 92.03 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1294, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1294, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1294, allocations: 0 / 474 MB, free: 11.16 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.0008059/0.1302, allocations: 434.9 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1303, allocations: 12.03 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.1303, allocations: 42.55 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.1304, allocations: 15.81 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1307, allocations: 211.4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1307, allocations: 8 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1307, allocations: 15.95 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.1311, allocations: 188.1 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1312, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1312, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1312, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.1316, allocations: 159.8 kB / 475 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.1325, allocations: 476.4 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.1332, allocations: 242.5 kB / 475.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1332, allocations: 4 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.1332, allocations: 34.56 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1333, allocations: 0 / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001584/0.1348, allocations: 0.6578 MB / 476.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1349, allocations: 110.8 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1351, allocations: 154.2 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1351, allocations: 25.7 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1352, allocations: 112 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1352, allocations: 35.7 kB / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1352, allocations: 0 / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1354, allocations: 326.8 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.1356, allocations: 83.94 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1359, allocations: 118.4 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1361, allocations: 79.97 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1361, allocations: 0 / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005244/0.1366, allocations: 225.3 kB / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.1367, allocations: 93 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1367, allocations: 7.953 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1367, allocations: 0 / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.137, allocations: 43.97 kB / 477.8 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.137, allocations: 3.984 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1371, allocations: 28.36 kB / 477.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1371, allocations: 7.984 kB / 477.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.1372, allocations: 8 kB / 477.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002181/0.1374, allocations: 95.83 kB / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.1374, allocations: 0 / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/0.1374, allocations: 0 / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.1375, allocations: 27.98 kB / 478 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-06/0.1375, allocations: 0 / 478 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.1376, allocations: 19.98 kB / 478 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1376, allocations: 0 / 478 MB, free: 6.812 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1377, allocations: 205.5 kB / 478.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.1378, allocations: 7.906 kB / 478.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.1378, allocations: 24.7 kB / 478.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1378, allocations: 4 kB / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1379, allocations: 0 / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1379, allocations: 0 / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009097/0.1388, allocations: 0.5577 MB / 478.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1388, allocations: 0 / 478.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.139, allocations: 44 kB / 478.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.139, allocations: 4 kB / 478.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.139, allocations: 0 / 478.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.139, allocations: 0 / 478.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.139, allocations: 0 / 478.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.1398, allocations: 441.6 kB / 479.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1399, allocations: 85.05 kB / 479.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1399, allocations: 0 / 479.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.1402, allocations: 56.02 kB / 479.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.1403, allocations: 11.94 kB / 479.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1403, allocations: 11.98 kB / 479.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.1404, allocations: 120.1 kB / 479.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1404, allocations: 0 / 479.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.1407, allocations: 36 kB / 479.6 MB, free: 5.113 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.1418, allocations: 1.022 MB / 480.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.1425, allocations: 235.8 kB / 480.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1425, allocations: 0 / 480.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.1427, allocations: 96.56 kB / 480.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.143, allocations: 27.94 kB / 481 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1448, allocations: 0.979 MB / 482 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1451, allocations: 0.7088 MB / 482.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.954e-05/0.1452, allocations: 24.81 kB / 482.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.1453, allocations: 43.41 kB / 482.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1453, allocations: 0 / 482.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.1615, allocations: 3.31 MB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/0.162, allocations: 162.3 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.048, allocations: 0 / 486.2 MB, free: 14.46 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat