Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009276/0.0009275, allocations: 96.22 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009464/0.0009464, allocations: 207.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 45.92 MB / 344 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.46 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006365/0.1342, allocations: 258.8 kB / 481.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.1351, allocations: 393.8 kB / 482.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.1351, allocations: 0 / 482.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.1352, allocations: 3.938 kB / 482.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.984e-05/0.1352, allocations: 4 kB / 482.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1356, allocations: 91.77 kB / 482.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.1357, allocations: 19.97 kB / 482.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1357, allocations: 0 / 482.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1358, allocations: 23.92 kB / 482.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.1359, allocations: 23.91 kB / 482.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1359, allocations: 0 / 482.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.1362, allocations: 143.8 kB / 482.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1362, allocations: 11.92 kB / 482.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1362, allocations: 29.7 kB / 482.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1364, allocations: 83.88 kB / 482.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1364, allocations: 0 / 482.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1364, allocations: 0 / 482.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1364, allocations: 0 / 482.6 MB, free: 4.164 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.0003906/0.1368, allocations: 359.6 kB / 482.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1368, allocations: 8.031 kB / 482.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.1369, allocations: 38.55 kB / 483 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1369, allocations: 11.91 kB / 483 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.137, allocations: 170.9 kB / 483.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1371, allocations: 4 kB / 483.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1371, allocations: 8 kB / 483.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1372, allocations: 61.66 kB / 483.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1372, allocations: 7.906 kB / 483.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1373, allocations: 8 kB / 483.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1373, allocations: 0 / 483.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.1373, allocations: 43.95 kB / 483.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.1376, allocations: 177.6 kB / 483.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1377, allocations: 78.55 kB / 483.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.138, allocations: 121.1 kB / 483.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.138, allocations: 30.56 kB / 483.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.138, allocations: 0 / 483.7 MB, free: 2.871 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.1367/0.2748, allocations: 5.845 MB / 489.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2749, allocations: 59.41 kB / 489.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.2749, allocations: 89.86 kB / 489.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.275, allocations: 29.7 kB / 489.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.275, allocations: 80.52 kB / 489.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.2751, allocations: 90.77 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.2751, allocations: 0 / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2752, allocations: 318.8 kB / 490.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.2756, allocations: 144 kB / 490.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.276, allocations: 135.9 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.2767, allocations: 171.9 kB / 490.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2767, allocations: 0 / 490.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001205/0.2779, allocations: 406.4 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.278, allocations: 8 kB / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.278, allocations: 0 / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.278, allocations: 0 / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.2784, allocations: 99.8 kB / 491.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2784, allocations: 8 kB / 491.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.2787, allocations: 31.97 kB / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.2787, allocations: 15.98 kB / 491.2 MB, free: 11.29 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 (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.0001148/0.2788, allocations: 125.8 kB / 491.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.2789, allocations: 11.89 kB / 491.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.2806, allocations: 469.3 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2806, allocations: 4 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2806, allocations: 3.953 kB / 491.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2806, allocations: 7.984 kB / 491.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.283, allocations: 0.8727 MB / 492.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.283, allocations: 0 / 492.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.2833, allocations: 87.86 kB / 492.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2833, allocations: 0 / 492.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.2834, allocations: 20.05 kB / 492.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2834, allocations: 4 kB / 492.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2834, allocations: 0 / 492.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.2846, allocations: 488.2 kB / 493.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.2847, allocations: 89 kB / 493.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.2847, allocations: 4 kB / 493.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2849, allocations: 35.97 kB / 493.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.285, allocations: 23.92 kB / 493.4 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.285, allocations: 19.98 kB / 493.4 MB, free: 8.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.285, allocations: 75.28 kB / 493.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.285, allocations: 0 / 493.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001748/0.2868, allocations: 0.6327 MB / 494.1 MB, free: 8.223 MB / 366.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.004981/0.2918, allocations: 1.36 MB / 495.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008664/0.2927, allocations: 307.6 kB / 495.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2927, allocations: 0 / 495.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.2931, allocations: 155.9 kB / 495.9 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.2933, allocations: 11.88 kB / 495.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.2952, allocations: 0.4991 MB / 496.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2955, allocations: 0.6978 MB / 497.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.2958, allocations: 77.08 kB / 497.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.296, allocations: 63.38 kB / 497.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.296, allocations: 0 / 497.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2889/0.5849, allocations: 54.75 MB / 0.5391 GB, free: 18.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001199/0.585, allocations: 201.2 kB / 0.5393 GB, free: 18.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.695, allocations: 0 / 0.5393 GB, free: 18.14 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat