Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.001015/0.001015, allocations: 100.3 kB / 17.01 MB, free: 6.129 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.001198/0.001198, allocations: 182.3 kB / 17.89 MB, free: 5.711 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.311/1.311, allocations: 223.2 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000632/0.1238, allocations: 250.9 kB / 471.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000739/0.1246, allocations: 381 kB / 472.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.1246, allocations: 0 / 472.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1246, allocations: 3.938 kB / 472.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.1247, allocations: 3.938 kB / 472.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.1251, allocations: 107.8 kB / 472.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.1251, allocations: 23.97 kB / 472.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1252, allocations: 4 kB / 472.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.1252, allocations: 11.94 kB / 472.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.1253, allocations: 23.91 kB / 472.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1253, allocations: 4 kB / 472.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1255, allocations: 155.8 kB / 472.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1256, allocations: 0 / 472.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1256, allocations: 33.7 kB / 472.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1257, allocations: 83.88 kB / 472.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1257, allocations: 3.938 kB / 472.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1258, allocations: 0 / 472.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1258, allocations: 0 / 472.7 MB, free: 12.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000375/0.1261, allocations: 351.6 kB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1262, allocations: 12.03 kB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1262, allocations: 34.56 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.1263, allocations: 7.906 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1264, allocations: 167 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1264, allocations: 15.95 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1264, allocations: 4 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1266, allocations: 57.67 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1266, allocations: 15.84 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1266, allocations: 0 / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1266, allocations: 3.984 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.1267, allocations: 39.95 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1269, allocations: 173.7 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1271, allocations: 90.47 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.1271, allocations: 36.8 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.1274, allocations: 105.1 kB / 473.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1274, allocations: 42.5 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.1274, allocations: 7.938 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1059/0.2333, allocations: 5.837 MB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2334, allocations: 51.41 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.2335, allocations: 93.86 kB / 479.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2335, allocations: 37.77 kB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.2335, allocations: 84.5 kB / 480 MB, free: 5.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.2336, allocations: 70.86 kB / 480 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.2336, allocations: 4 kB / 480 MB, free: 4.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2338, allocations: 326.8 kB / 480.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2341, allocations: 131.9 kB / 480.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.2344, allocations: 135.9 kB / 480.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.2351, allocations: 190 kB / 480.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2351, allocations: 0 / 480.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001082/0.2362, allocations: 401.1 kB / 481.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2362, allocations: 10.95 kB / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2362, allocations: 0 / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2363, allocations: 4 kB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.2366, allocations: 87.92 kB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2366, allocations: 3.984 kB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2368, allocations: 39.97 kB / 481.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.2369, allocations: 19.97 kB / 481.4 MB, free: 3.66 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 (23): * Single equations (assignments): 23 * 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.0001088/0.237, allocations: 126.3 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.237, allocations: 7.906 kB / 481.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.2384, allocations: 477.5 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2384, allocations: 4 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2384, allocations: 3.938 kB / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2384, allocations: 0 / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.2405, allocations: 0.8698 MB / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2405, allocations: 0 / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2408, allocations: 95.94 kB / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2408, allocations: 0 / 482.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.2409, allocations: 15.98 kB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2409, allocations: 0 / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2409, allocations: 7.938 kB / 482.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2419, allocations: 460.9 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.242, allocations: 85.02 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.242, allocations: 7.953 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.2422, allocations: 39.97 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.2423, allocations: 15.97 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.2423, allocations: 16 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.2423, allocations: 79.27 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2423, allocations: 8.031 kB / 483.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001617/0.244, allocations: 0.621 MB / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (23): * Single equations (assignments): 23 * 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.00416/0.2481, allocations: 1.199 MB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008144/0.249, allocations: 309.5 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.249, allocations: 4 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.2494, allocations: 152 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.2496, allocations: 8 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2513, allocations: 0.4942 MB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2516, allocations: 0.7011 MB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.2519, allocations: 73.08 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.2521, allocations: 55.39 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2521, allocations: 4 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4887/0.7408, allocations: 54.77 MB / 0.5293 GB, free: 32.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.741, allocations: 214.4 kB / 0.5295 GB, free: 32.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.914, allocations: 0 / 0.5295 GB, free: 32.5 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat