Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 94.02 kB / 18.01 MB, free: 5.605 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.001774/0.001774, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.504/1.504, allocations: 223.3 MB / 242.9 MB, free: 192 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.1955/0.1955, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.000321, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 61.91 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.455/0.5789, allocations: 177.5 MB / 0.6352 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.5809, allocations: 0.9164 MB / 0.6361 GB, free: 44 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.5813, allocations: 11.94 kB / 0.6361 GB, free: 32 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.582, allocations: 183 kB / 0.6363 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007114/0.5827, allocations: 266.6 kB / 0.6365 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005203/0.588, allocations: 1.659 MB / 0.6382 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.5898, allocations: 1.295 MB / 0.6394 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.5904, allocations: 269.2 kB / 0.6397 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.5941, allocations: 1.41 MB / 0.6411 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.5947, allocations: 326.7 kB / 0.6414 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.5948, allocations: 20 kB / 0.6414 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004911/0.5997, allocations: 2.827 MB / 0.6441 GB, free: 7.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.6, allocations: 167.5 kB / 0.6443 GB, free: 7.621 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.6005, allocations: 264.6 kB / 0.6446 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.6029, allocations: 1.423 MB / 0.6459 GB, free: 5.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6029, allocations: 0 / 0.6459 GB, free: 5.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6029, allocations: 0 / 0.6459 GB, free: 5.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.6029, allocations: 0 / 0.6459 GB, free: 5.93 MB / 478.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.002109/0.6051, allocations: 0.9429 MB / 0.6469 GB, free: 4.926 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.6051, allocations: 11.97 kB / 0.6469 GB, free: 4.914 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.6054, allocations: 63.38 kB / 0.6469 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.606, allocations: 373.9 kB / 0.6473 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.6061, allocations: 29 kB / 0.6473 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.6061, allocations: 39.94 kB / 0.6474 GB, free: 4.379 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/0.6071, allocations: 0.5242 MB / 0.6479 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6072, allocations: 0 / 0.6479 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.6072, allocations: 23.98 kB / 0.6479 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6072, allocations: 8 kB / 0.6479 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.6082, allocations: 0.5034 MB / 0.6484 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.611, allocations: 1.97 MB / 0.6503 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.6117, allocations: 460.7 kB / 0.6508 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.6121, allocations: 186.5 kB / 0.6509 GB, free: 500 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.613, allocations: 0.9455 MB / 0.6519 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.613, allocations: 46.5 kB / 0.6519 GB, free: 15.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.613, allocations: 0 / 0.6519 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001178/0.6142, allocations: 0.5119 MB / 0.6524 GB, free: 14.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.6143, allocations: 110.8 kB / 0.6525 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.6147, allocations: 397.7 kB / 0.6529 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.6148, allocations: 33.7 kB / 0.6529 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.615, allocations: 220.1 kB / 0.6531 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.615, allocations: 98.55 kB / 0.6532 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.6151, allocations: 37.7 kB / 0.6533 GB, free: 13.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6153, allocations: 350.8 kB / 0.6536 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.6156, allocations: 156.6 kB / 0.6537 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.616, allocations: 270 kB / 0.654 GB, free: 13.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/0.6168, allocations: 499.9 kB / 0.6545 GB, free: 12.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6168, allocations: 8 kB / 0.6545 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001196/0.618, allocations: 0.5665 MB / 0.655 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.6181, allocations: 69.89 kB / 0.6551 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6181, allocations: 4 kB / 0.6551 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.6182, allocations: 8 kB / 0.6551 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.6186, allocations: 84.02 kB / 0.6552 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.6186, allocations: 4 kB / 0.6552 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.6191, allocations: 63.7 kB / 0.6553 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.6192, allocations: 19.98 kB / 0.6553 GB, free: 11.64 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003091/0.6195, allocations: 194.1 kB / 0.6555 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.6197, allocations: 43.53 kB / 0.6555 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.6209, allocations: 498.1 kB / 0.656 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6209, allocations: 7.938 kB / 0.656 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.6209, allocations: 0 / 0.656 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.6209, allocations: 0 / 0.656 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.6242, allocations: 2.449 MB / 0.6584 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6243, allocations: 3.938 kB / 0.6584 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.6246, allocations: 67.91 kB / 0.6584 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.6246, allocations: 3.938 kB / 0.6585 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6246, allocations: 12 kB / 0.6585 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.6246, allocations: 3.984 kB / 0.6585 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6246, allocations: 4 kB / 0.6585 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.6255, allocations: 0.6476 MB / 0.6591 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.6256, allocations: 152.4 kB / 0.6592 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.6257, allocations: 8 kB / 0.6593 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.6262, allocations: 24.05 kB / 0.6593 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.6263, allocations: 31.91 kB / 0.6593 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.6263, allocations: 19.98 kB / 0.6593 GB, free: 7.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004013/0.6267, allocations: 363.1 kB / 0.6597 GB, free: 6.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6267, allocations: 4 kB / 0.6597 GB, free: 6.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001106/0.6278, allocations: 339.6 kB / 0.66 GB, free: 6.379 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.6292, allocations: 0.4938 MB / 0.6605 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008521/0.6301, allocations: 483 kB / 0.6609 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.6301, allocations: 4 kB / 0.661 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.6304, allocations: 167.7 kB / 0.6611 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6321, allocations: 276.9 kB / 0.6614 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.6335, allocations: 0.9973 MB / 0.6623 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.634, allocations: 0.8354 MB / 0.6632 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.6341, allocations: 51.42 kB / 0.6632 GB, free: 3.008 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.6342, allocations: 3.938 kB / 0.6632 GB, free: 3.004 MB / 494.1 MB Notification: Performance of Templates: time 0.01933/0.6535, allocations: 11.27 MB / 0.6742 GB, free: 7.809 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches