Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001565/0.001564, allocations: 115.5 kB / 17.04 MB, free: 6.129 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.001582/0.001582, allocations: 193.7 kB / 17.98 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2129/0.2129, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.84 kB / 442.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1375, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.523/0.6605, allocations: 186.3 MB / 0.6704 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.663, allocations: 0.9019 MB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.6636, allocations: 7.938 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009485/0.6647, allocations: 206.7 kB / 0.6715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009968/0.6657, allocations: 278.3 kB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006926/0.6726, allocations: 2.147 MB / 0.6738 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.6744, allocations: 0.975 MB / 0.6748 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.6753, allocations: 342.5 kB / 0.6751 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.6803, allocations: 1.698 MB / 0.6768 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009332/0.6812, allocations: 314.8 kB / 0.6771 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.6814, allocations: 48 kB / 0.6771 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006352/0.6878, allocations: 2.944 MB / 0.68 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.6883, allocations: 191.5 kB / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.6889, allocations: 274.9 kB / 0.6804 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006434/0.6954, allocations: 2.108 MB / 0.6825 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.6955, allocations: 0 / 0.6825 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.285e-06/0.6955, allocations: 3.938 kB / 0.6825 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.6955, allocations: 0 / 0.6825 GB, free: 3.773 MB / 0.5137 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.003135/0.6986, allocations: 1.067 MB / 0.6835 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6987, allocations: 15.91 kB / 0.6836 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.6991, allocations: 59.42 kB / 0.6836 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.6998, allocations: 382 kB / 0.684 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.6999, allocations: 25 kB / 0.684 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.7, allocations: 36 kB / 0.684 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.7011, allocations: 0.5242 MB / 0.6846 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.7011, allocations: 0 / 0.6846 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.7012, allocations: 16 kB / 0.6846 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.7012, allocations: 12 kB / 0.6846 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.7022, allocations: 495.5 kB / 0.6851 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.7054, allocations: 1.97 MB / 0.687 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.7062, allocations: 458.2 kB / 0.6874 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.7066, allocations: 182.5 kB / 0.6876 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009772/0.7076, allocations: 0.9455 MB / 0.6885 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.7076, allocations: 46.5 kB / 0.6886 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.7077, allocations: 0 / 0.6886 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001255/0.7089, allocations: 0.49 MB / 0.689 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.709, allocations: 106.8 kB / 0.6891 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.7095, allocations: 401.5 kB / 0.6895 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.7096, allocations: 33.7 kB / 0.6896 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.7098, allocations: 224.1 kB / 0.6898 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.7099, allocations: 98.55 kB / 0.6899 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.7101, allocations: 81.97 kB / 0.6899 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.7103, allocations: 350.8 kB / 0.6903 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.7106, allocations: 148.6 kB / 0.6904 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.7111, allocations: 273.8 kB / 0.6907 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.7119, allocations: 488.1 kB / 0.6911 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.7119, allocations: 0 / 0.6911 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001119/0.713, allocations: 0.547 MB / 0.6917 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.7131, allocations: 63.41 kB / 0.6917 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.7131, allocations: 4 kB / 0.6917 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.7131, allocations: 4 kB / 0.6917 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.7135, allocations: 87.81 kB / 0.6918 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.7135, allocations: 4 kB / 0.6918 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.7139, allocations: 47.92 kB / 0.6919 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.714, allocations: 24 kB / 0.6919 GB, free: 9.418 MB / 0.5294 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.000273/0.7143, allocations: 193.5 kB / 0.6921 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.7145, allocations: 43.44 kB / 0.6921 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.7156, allocations: 482.2 kB / 0.6926 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7156, allocations: 4 kB / 0.6926 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.7156, allocations: 4 kB / 0.6926 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7156, allocations: 4.047 kB / 0.6926 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.7189, allocations: 2.433 MB / 0.695 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.7189, allocations: 4.281 kB / 0.695 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.7192, allocations: 68.08 kB / 0.695 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.7192, allocations: 4 kB / 0.695 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.7192, allocations: 11.94 kB / 0.6951 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7193, allocations: 4 kB / 0.6951 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7193, allocations: 4 kB / 0.6951 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.7202, allocations: 0.6394 MB / 0.6957 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.7204, allocations: 124.5 kB / 0.6958 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.7205, allocations: 15.92 kB / 0.6958 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.721, allocations: 23.98 kB / 0.6958 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.7211, allocations: 27.91 kB / 0.6959 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.7211, allocations: 19.98 kB / 0.6959 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004604/0.7216, allocations: 363.1 kB / 0.6962 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7216, allocations: 0 / 0.6962 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001433/0.723, allocations: 379.6 kB / 0.6966 GB, free: 4.18 MB / 0.5294 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.001821/0.7249, allocations: 0.5848 MB / 0.6972 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009776/0.7259, allocations: 466.4 kB / 0.6976 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7259, allocations: 4 kB / 0.6976 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.7262, allocations: 168.8 kB / 0.6978 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7278, allocations: 279.2 kB / 0.698 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.7294, allocations: 0.8177 MB / 0.6988 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.7299, allocations: 0.8351 MB / 0.6997 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.7301, allocations: 51.42 kB / 0.6997 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/0.7301, allocations: 0 / 0.6997 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of Templates: time 0.02076/0.7509, allocations: 12 MB / 0.7114 GB, free: 4.898 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches