Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_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.0008447/0.0008448, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 175.8 kB / 16.58 MB, free: 6.84 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.322/1.322, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3133/0.3133, allocations: 43.55 MB / 314.6 MB, free: 8.727 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.0005376/0.0005377, allocations: 23.94 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006668/0.1284, allocations: 260.4 kB / 443.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007484/0.1291, allocations: 382.7 kB / 443.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.1292, allocations: 0 / 443.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.1292, allocations: 3.938 kB / 443.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.1292, allocations: 4 kB / 443.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1296, allocations: 107.8 kB / 443.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.1297, allocations: 23.92 kB / 443.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.1297, allocations: 4 kB / 443.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.1298, allocations: 19.92 kB / 443.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.1298, allocations: 15.92 kB / 443.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1298, allocations: 0 / 443.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.1301, allocations: 151.8 kB / 443.8 MB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.1301, allocations: 15.92 kB / 443.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1302, allocations: 29.7 kB / 443.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1303, allocations: 88.09 kB / 444 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1303, allocations: 0 / 444 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1303, allocations: 0 / 444 MB, free: 11.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1303, allocations: 0 / 444 MB, free: 11.86 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003842/0.1307, allocations: 351.3 kB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1308, allocations: 8.031 kB / 444.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1308, allocations: 42.55 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1308, allocations: 7.859 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.131, allocations: 178.9 kB / 444.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.131, allocations: 0 / 444.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1311, allocations: 8 kB / 444.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1312, allocations: 65.66 kB / 444.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1312, allocations: 4 kB / 444.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1313, allocations: 4 kB / 444.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1313, allocations: 0 / 444.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.1314, allocations: 47.91 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1315, allocations: 181.5 kB / 444.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1317, allocations: 94.61 kB / 444.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.1317, allocations: 28.84 kB / 445 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.132, allocations: 105.1 kB / 445.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.132, allocations: 38.56 kB / 445.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.132, allocations: 0 / 445.1 MB, free: 10.53 MB / 382.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.11/0.242, allocations: 5.83 MB / 450.9 MB, free: 4.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2421, allocations: 55.41 kB / 451 MB, free: 4.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.2422, allocations: 101.8 kB / 451.1 MB, free: 4.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2423, allocations: 25.7 kB / 451.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.2423, allocations: 84.52 kB / 451.2 MB, free: 4.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.2424, allocations: 74.84 kB / 451.3 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.2425, allocations: 8 kB / 451.3 MB, free: 4.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2426, allocations: 318.8 kB / 451.6 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.243, allocations: 136 kB / 451.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.2433, allocations: 143.8 kB / 451.9 MB, free: 3.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.244, allocations: 175.9 kB / 452 MB, free: 3.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.244, allocations: 0 / 452 MB, free: 3.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00111/0.2451, allocations: 401.7 kB / 452.4 MB, free: 3.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2452, allocations: 11.95 kB / 452.4 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2452, allocations: 3.984 kB / 452.4 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2452, allocations: 4 kB / 452.4 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.2456, allocations: 91.84 kB / 452.5 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2456, allocations: 4 kB / 452.5 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.2458, allocations: 35.97 kB / 452.6 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.2458, allocations: 19.98 kB / 452.6 MB, free: 2.953 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 (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.0001047/0.246, allocations: 121.8 kB / 452.7 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.246, allocations: 7.906 kB / 452.7 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.2474, allocations: 493.8 kB / 453.2 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2474, allocations: 0 / 453.2 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2474, allocations: 0 / 453.2 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2474, allocations: 3.984 kB / 453.2 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.2495, allocations: 0.866 MB / 454.1 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2495, allocations: 0 / 454.1 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.2498, allocations: 87.94 kB / 454.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.2499, allocations: 3.984 kB / 454.2 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.2499, allocations: 12 kB / 454.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.2499, allocations: 4 kB / 454.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2499, allocations: 3.984 kB / 454.2 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.251, allocations: 472.7 kB / 454.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.2511, allocations: 85.02 kB / 454.7 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.2511, allocations: 7.984 kB / 454.7 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2513, allocations: 35.97 kB / 454.8 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.2514, allocations: 15.98 kB / 454.8 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.2514, allocations: 15.98 kB / 454.8 MB, free: 0.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.332e-05/0.2514, allocations: 79.28 kB / 454.9 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2515, allocations: 0 / 454.9 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.2135/0.465, allocations: 0.6332 MB / 455.5 MB, free: 44.93 MB / 382.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.003962/0.469, allocations: 1.19 MB / 456.7 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.4697, allocations: 299.3 kB / 457 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4697, allocations: 3.844 kB / 457 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.47, allocations: 151.9 kB / 457.1 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.4703, allocations: 11.38 kB / 457.2 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4717, allocations: 0.5014 MB / 457.7 MB, free: 44.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.4719, allocations: 0.6933 MB / 458.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.4722, allocations: 78.39 kB / 458.4 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4723, allocations: 53.45 kB / 458.5 MB, free: 43.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4723, allocations: 2.969 kB / 458.5 MB, free: 43.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/0.5514, allocations: 54.79 MB / 0.5012 GB, free: 19.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.5517, allocations: 203.5 kB / 0.5014 GB, free: 19.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.687, allocations: 0 / 0.5014 GB, free: 19.53 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat