Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009616/0.0009616, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 206.1 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.431/1.431, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 45.92 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4667/0.5875, allocations: 148.9 MB / 0.6156 GB, free: 280 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.5906, allocations: 1.831 MB / 0.6174 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.5909, allocations: 15.88 kB / 0.6174 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.5915, allocations: 151.3 kB / 0.6176 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.5919, allocations: 227.3 kB / 0.6178 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.5959, allocations: 1.395 MB / 0.6191 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.5967, allocations: 0.5473 MB / 0.6197 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.5971, allocations: 259.5 kB / 0.6199 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.5998, allocations: 1.247 MB / 0.6211 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.6001, allocations: 227.2 kB / 0.6214 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.6002, allocations: 20 kB / 0.6214 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.6042, allocations: 2.38 MB / 0.6237 GB, free: 7.988 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.6044, allocations: 159.5 kB / 0.6239 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.6046, allocations: 113.5 kB / 0.624 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.6066, allocations: 1.28 MB / 0.6252 GB, free: 6.438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6067, allocations: 4 kB / 0.6252 GB, free: 6.434 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6067, allocations: 0 / 0.6252 GB, free: 6.434 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.6067, allocations: 4 kB / 0.6252 GB, free: 6.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00161/0.6083, allocations: 0.9507 MB / 0.6262 GB, free: 5.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6083, allocations: 12.03 kB / 0.6262 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.6084, allocations: 82.48 kB / 0.6262 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.6087, allocations: 55.44 kB / 0.6263 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.6092, allocations: 362.1 kB / 0.6266 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.6093, allocations: 29 kB / 0.6267 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.6094, allocations: 36 kB / 0.6267 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.6102, allocations: 0.5159 MB / 0.6272 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6102, allocations: 0 / 0.6272 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.6103, allocations: 16 kB / 0.6272 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.6103, allocations: 15.95 kB / 0.6272 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.6112, allocations: 0.5032 MB / 0.6277 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.6139, allocations: 1.971 MB / 0.6297 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.6146, allocations: 468.9 kB / 0.6301 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/0.6154, allocations: 0.9415 MB / 0.631 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.6155, allocations: 42.55 kB / 0.6311 GB, free: 15.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.6155, allocations: 0 / 0.6311 GB, free: 15.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=30): time 0.001117/0.6166, allocations: 0.5086 MB / 0.6316 GB, free: 15.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.6167, allocations: 106.8 kB / 0.6317 GB, free: 15.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.6172, allocations: 397.5 kB / 0.632 GB, free: 14.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.6172, allocations: 33.7 kB / 0.6321 GB, free: 14.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.6174, allocations: 220.2 kB / 0.6323 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/0.6175, allocations: 102.5 kB / 0.6324 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.6176, allocations: 8 kB / 0.6324 GB, free: 14.51 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6178, allocations: 358.8 kB / 0.6327 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.6181, allocations: 152.6 kB / 0.6329 GB, free: 14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.6185, allocations: 262.2 kB / 0.6331 GB, free: 13.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.6189, allocations: 239.3 kB / 0.6334 GB, free: 13.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6189, allocations: 0 / 0.6334 GB, free: 13.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001025/0.6199, allocations: 0.5661 MB / 0.6339 GB, free: 12.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.62, allocations: 67.7 kB / 0.634 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6201, allocations: 12 kB / 0.634 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6201, allocations: 4 kB / 0.634 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.6205, allocations: 87.89 kB / 0.6341 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.6205, allocations: 4 kB / 0.6341 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.6209, allocations: 63.41 kB / 0.6341 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.621, allocations: 24 kB / 0.6342 GB, free: 12.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0002726/0.6213, allocations: 186.2 kB / 0.6343 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.6214, allocations: 43.53 kB / 0.6344 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009954/0.6224, allocations: 499.7 kB / 0.6349 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6225, allocations: 4 kB / 0.6349 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6225, allocations: 4 kB / 0.6349 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6225, allocations: 4 kB / 0.6349 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.6254, allocations: 2.437 MB / 0.6372 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6254, allocations: 4 kB / 0.6372 GB, free: 9.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.6257, allocations: 63.91 kB / 0.6373 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.6257, allocations: 8.188 kB / 0.6373 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.6258, allocations: 11.94 kB / 0.6373 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6258, allocations: 4 kB / 0.6373 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.6258, allocations: 15.83 kB / 0.6373 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.6267, allocations: 0.7318 MB / 0.6381 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.6269, allocations: 152.3 kB / 0.6382 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.6269, allocations: 11.98 kB / 0.6382 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.6274, allocations: 27.98 kB / 0.6382 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.6275, allocations: 27.91 kB / 0.6383 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.6275, allocations: 23.98 kB / 0.6383 GB, free: 7.898 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004303/0.6279, allocations: 351.1 kB / 0.6386 GB, free: 7.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.628, allocations: 0 / 0.6386 GB, free: 7.559 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00125/0.6292, allocations: 347.6 kB / 0.639 GB, free: 7.219 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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.002532/0.6318, allocations: 2.222 MB / 0.6411 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.6326, allocations: 478.4 kB / 0.6416 GB, free: 4.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6326, allocations: 4.75 kB / 0.6416 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.6329, allocations: 171.7 kB / 0.6418 GB, free: 4.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6342, allocations: 243.7 kB / 0.642 GB, free: 4.039 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.637, allocations: 3.559 MB / 0.6455 GB, free: 352 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.6375, allocations: 0.8471 MB / 0.6463 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004656/0.6379, allocations: 118.9 kB / 0.6464 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.6382, allocations: 147.4 kB / 0.6465 GB, free: 15.21 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6382, allocations: 3.938 kB / 0.6465 GB, free: 15.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.6718, allocations: 18.22 MB / 0.6643 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.672, allocations: 240.1 kB / 0.6646 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/3, allocations: 6.875 kB / 0.6646 GB, free: 12.98 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat