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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001919/0.001918, allocations: 103.8 kB / 17.63 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002293, allocations: 210.4 kB / 18.58 MB, free: 4.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2458/0.2458, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 84.97 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5396/0.6736, allocations: 184.7 MB / 0.6492 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.6756, allocations: 0.8977 MB / 0.6501 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.6759, allocations: 11.94 kB / 0.6501 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.6765, allocations: 198.7 kB / 0.6503 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.6772, allocations: 286.3 kB / 0.6506 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.6822, allocations: 1.913 MB / 0.6524 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.6834, allocations: 0.9788 MB / 0.6534 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.6839, allocations: 330.8 kB / 0.6537 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.6873, allocations: 1.569 MB / 0.6552 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.6878, allocations: 314.8 kB / 0.6555 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/0.6879, allocations: 51.98 kB / 0.6556 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/0.6933, allocations: 2.734 MB / 0.6583 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.6936, allocations: 207.5 kB / 0.6585 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.694, allocations: 262.9 kB / 0.6587 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.6989, allocations: 2.038 MB / 0.6607 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6989, allocations: 4 kB / 0.6607 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6989, allocations: 0 / 0.6607 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.6989, allocations: 0 / 0.6607 GB, free: 14.61 MB / 0.4981 GB 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.002086/0.701, allocations: 1.052 MB / 0.6617 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.7011, allocations: 12.03 kB / 0.6617 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.7014, allocations: 63.42 kB / 0.6618 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.7019, allocations: 369.9 kB / 0.6621 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.702, allocations: 21 kB / 0.6622 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.702, allocations: 45 kB / 0.6622 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.703, allocations: 0.5198 MB / 0.6627 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.703, allocations: 3.938 kB / 0.6627 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.703, allocations: 16 kB / 0.6627 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.7031, allocations: 12 kB / 0.6628 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.704, allocations: 495.3 kB / 0.6632 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.7067, allocations: 1.983 MB / 0.6652 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.7075, allocations: 456.7 kB / 0.6656 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.7079, allocations: 174.5 kB / 0.6658 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/0.7088, allocations: 0.9533 MB / 0.6667 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7088, allocations: 38.56 kB / 0.6667 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.7089, allocations: 0 / 0.6667 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30): time 0.001175/0.71, allocations: 0.5003 MB / 0.6672 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.7101, allocations: 106.8 kB / 0.6673 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.7106, allocations: 397.6 kB / 0.6677 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.7106, allocations: 33.7 kB / 0.6677 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.7108, allocations: 216.1 kB / 0.6679 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.895e-05/0.7109, allocations: 106.5 kB / 0.668 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.711, allocations: 82.05 kB / 0.6681 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7112, allocations: 346.8 kB / 0.6684 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.7115, allocations: 148.7 kB / 0.6686 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.712, allocations: 262.7 kB / 0.6688 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.7127, allocations: 495.6 kB / 0.6693 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7128, allocations: 0 / 0.6693 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001038/0.7138, allocations: 0.5434 MB / 0.6698 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/0.7139, allocations: 67.39 kB / 0.6699 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7139, allocations: 11.88 kB / 0.6699 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.7139, allocations: 4 kB / 0.6699 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.7143, allocations: 79.89 kB / 0.67 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7143, allocations: 7.938 kB / 0.67 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.7147, allocations: 55.42 kB / 0.6701 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.7147, allocations: 23.98 kB / 0.6701 GB, free: 4.266 MB / 0.4981 GB 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.000231/0.715, allocations: 185.8 kB / 0.6703 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7151, allocations: 39.53 kB / 0.6703 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.7162, allocations: 488.1 kB / 0.6708 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.7162, allocations: 8.031 kB / 0.6708 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7162, allocations: 3.984 kB / 0.6708 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7162, allocations: 0 / 0.6708 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.7193, allocations: 2.433 MB / 0.6732 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7193, allocations: 4 kB / 0.6732 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.7196, allocations: 64.09 kB / 0.6732 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.7196, allocations: 8 kB / 0.6732 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.7197, allocations: 16 kB / 0.6732 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.7197, allocations: 3.938 kB / 0.6732 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.7197, allocations: 7.984 kB / 0.6732 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.7205, allocations: 0.6316 MB / 0.6739 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7207, allocations: 128.5 kB / 0.674 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.7207, allocations: 15.84 kB / 0.674 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.7212, allocations: 23.98 kB / 0.674 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.7213, allocations: 27.91 kB / 0.6741 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.7213, allocations: 19.98 kB / 0.6741 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004099/0.7217, allocations: 363.1 kB / 0.6744 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7218, allocations: 0 / 0.6744 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001094/0.7229, allocations: 347.8 kB / 0.6748 GB, free: 15.07 MB / 0.5137 GB 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.00115/0.724, allocations: 0.4936 MB / 0.6752 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.7249, allocations: 489.9 kB / 0.6757 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7249, allocations: 4.062 kB / 0.6757 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.7252, allocations: 163.8 kB / 0.6759 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7267, allocations: 285.3 kB / 0.6761 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.728, allocations: 0.8039 MB / 0.6769 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.7285, allocations: 0.8429 MB / 0.6777 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000429/0.729, allocations: 117.8 kB / 0.6779 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.7291, allocations: 43.42 kB / 0.6779 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.7291, allocations: 0 / 0.6779 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.02545/0.7545, allocations: 15.02 MB / 0.6926 GB, free: 12.85 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches