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.0009851/0.0009852, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 45.9 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002682, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00073/0.1184, allocations: 258.9 kB / 481.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.1193, allocations: 381.9 kB / 482.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.1194, allocations: 0 / 482.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.1194, allocations: 3.938 kB / 482.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.1194, allocations: 0 / 482.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.1199, allocations: 103.8 kB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.12, allocations: 23.98 kB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.1201, allocations: 3.984 kB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.1201, allocations: 19.92 kB / 482.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.1202, allocations: 23.86 kB / 482.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1202, allocations: 0 / 482.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.1205, allocations: 155.8 kB / 482.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1205, allocations: 8 kB / 482.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1205, allocations: 29.7 kB / 482.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1207, allocations: 79.88 kB / 482.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1207, allocations: 0 / 482.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1207, allocations: 0 / 482.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1208, allocations: 4 kB / 482.7 MB, free: 4.191 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.0004148/0.1212, allocations: 351.6 kB / 483.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1212, allocations: 11.97 kB / 483.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.1213, allocations: 38.56 kB / 483.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.1213, allocations: 7.906 kB / 483.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1215, allocations: 167 kB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1215, allocations: 8 kB / 483.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1215, allocations: 7.984 kB / 483.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1217, allocations: 69.67 kB / 483.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1217, allocations: 3.906 kB / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1217, allocations: 0 / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1218, allocations: 4 kB / 483.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1219, allocations: 47.89 kB / 483.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.1221, allocations: 177.6 kB / 483.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1223, allocations: 82.55 kB / 483.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.1224, allocations: 28.8 kB / 483.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.1227, allocations: 117.1 kB / 483.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1228, allocations: 30.56 kB / 483.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1228, allocations: 0 / 483.8 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.1085/0.2313, allocations: 5.848 MB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.2314, allocations: 55.41 kB / 489.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2316, allocations: 89.86 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.2316, allocations: 33.7 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.2316, allocations: 80.52 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.2317, allocations: 82.97 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.2318, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2319, allocations: 322.8 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.2323, allocations: 131.9 kB / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.2326, allocations: 139.9 kB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.2333, allocations: 167.9 kB / 490.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2333, allocations: 7.938 kB / 490.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001204/0.2345, allocations: 408.4 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2345, allocations: 7.938 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.2346, allocations: 3.984 kB / 491.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2346, allocations: 7.891 kB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.235, allocations: 95.91 kB / 491.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.235, allocations: 0 / 491.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2352, allocations: 43.97 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.2352, allocations: 11.98 kB / 491.3 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.0001062/0.2353, allocations: 125.8 kB / 491.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.2354, allocations: 7.906 kB / 491.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.2367, allocations: 473.9 kB / 491.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2367, allocations: 7.984 kB / 491.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2368, allocations: 3.953 kB / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2368, allocations: 0 / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.2389, allocations: 0.8697 MB / 492.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2389, allocations: 0 / 492.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.2392, allocations: 87.98 kB / 492.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.2393, allocations: 4 kB / 492.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.2393, allocations: 15.98 kB / 492.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2393, allocations: 0 / 492.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2393, allocations: 0 / 492.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2405, allocations: 474 kB / 493.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2405, allocations: 85.02 kB / 493.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.2406, allocations: 4 kB / 493.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.2408, allocations: 39.97 kB / 493.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.2408, allocations: 15.98 kB / 493.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.2408, allocations: 11.98 kB / 493.5 MB, free: 8.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.2409, allocations: 79.28 kB / 493.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2409, allocations: 0 / 493.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001948/0.2428, allocations: 0.6249 MB / 494.2 MB, free: 8.27 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.00443/0.2473, allocations: 1.199 MB / 495.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007915/0.2481, allocations: 307.6 kB / 495.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2481, allocations: 0 / 495.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.2485, allocations: 159.5 kB / 495.9 MB, free: 6.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2488, allocations: 15.94 kB / 495.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2508, allocations: 0.4914 MB / 496.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.2512, allocations: 0.6973 MB / 497.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.2516, allocations: 81.08 kB / 497.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.2518, allocations: 59.33 kB / 497.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of SimCode: time 4.819e-06/0.2518, allocations: 0 / 497.2 MB, free: 5.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/0.5653, allocations: 54.78 MB / 0.5391 GB, free: 18.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.5654, allocations: 199.6 kB / 0.5393 GB, free: 18.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.725, allocations: 0 / 0.5393 GB, free: 18.7 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