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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 209.3 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 67.91 kB / 468.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1446, allocations: 61.04 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5284/0.673, allocations: 161.5 MB / 0.6751 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.6753, allocations: 0.8891 MB / 0.6759 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.6756, allocations: 15.88 kB / 0.6759 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.6764, allocations: 194.7 kB / 0.6761 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006684/0.677, allocations: 290.3 kB / 0.6764 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00659/0.6836, allocations: 2.181 MB / 0.6785 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.6852, allocations: 0.9867 MB / 0.6795 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.6857, allocations: 285.1 kB / 0.6798 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.6899, allocations: 1.721 MB / 0.6815 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.6906, allocations: 326.8 kB / 0.6818 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.6907, allocations: 44 kB / 0.6818 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005459/0.6962, allocations: 2.441 MB / 0.6842 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.6965, allocations: 207.5 kB / 0.6844 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.6969, allocations: 227.1 kB / 0.6846 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.7016, allocations: 2.037 MB / 0.6866 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.7016, allocations: 8 kB / 0.6866 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7016, allocations: 0 / 0.6866 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.7016, allocations: 0 / 0.6866 GB, free: 4.727 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.002332/0.704, allocations: 1.013 MB / 0.6876 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.704, allocations: 8.031 kB / 0.6876 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.7044, allocations: 60.27 kB / 0.6877 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.705, allocations: 323.8 kB / 0.688 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.7051, allocations: 29 kB / 0.688 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.7051, allocations: 36 kB / 0.688 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.7063, allocations: 0.7744 MB / 0.6888 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.7063, allocations: 0 / 0.6888 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.7063, allocations: 23.92 kB / 0.6888 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.7064, allocations: 10.62 kB / 0.6888 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.7073, allocations: 499.3 kB / 0.6893 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.7099, allocations: 1.477 MB / 0.6907 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.7107, allocations: 360.2 kB / 0.6911 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.711, allocations: 162.5 kB / 0.6912 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004955/0.7115, allocations: 143.8 kB / 0.6914 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.7116, allocations: 38.56 kB / 0.6914 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.7116, allocations: 0 / 0.6914 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.001168/0.7127, allocations: 493.9 kB / 0.6919 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.7128, allocations: 110.8 kB / 0.692 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.7131, allocations: 296.6 kB / 0.6923 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.7132, allocations: 33.7 kB / 0.6923 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.7134, allocations: 228.2 kB / 0.6925 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.7135, allocations: 115.2 kB / 0.6926 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.7136, allocations: 74.06 kB / 0.6927 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.7138, allocations: 338.8 kB / 0.693 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.7142, allocations: 208 kB / 0.6932 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.7146, allocations: 317.4 kB / 0.6935 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.7154, allocations: 495.6 kB / 0.694 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7154, allocations: 0 / 0.694 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001076/0.7165, allocations: 0.5935 MB / 0.6946 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.7166, allocations: 67.39 kB / 0.6946 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7166, allocations: 0 / 0.6946 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.7166, allocations: 8 kB / 0.6947 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.717, allocations: 83.89 kB / 0.6947 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.717, allocations: 9.578 kB / 0.6947 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.7173, allocations: 35.77 kB / 0.6948 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.7174, allocations: 24.27 kB / 0.6948 GB, free: 11.86 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.0002731/0.7177, allocations: 185.7 kB / 0.695 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.7178, allocations: 43.7 kB / 0.695 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.7188, allocations: 478 kB / 0.6955 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.7188, allocations: 8 kB / 0.6955 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.7189, allocations: 4 kB / 0.6955 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7189, allocations: 3.984 kB / 0.6955 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.7214, allocations: 1.203 MB / 0.6967 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7214, allocations: 4 kB / 0.6967 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.7217, allocations: 64.09 kB / 0.6967 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.7217, allocations: 11.61 kB / 0.6967 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.7217, allocations: 12 kB / 0.6967 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7217, allocations: 0 / 0.6967 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.7217, allocations: 15.81 kB / 0.6968 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.7226, allocations: 0.628 MB / 0.6974 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.7227, allocations: 39.69 kB / 0.6974 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.7227, allocations: 11.95 kB / 0.6974 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.7231, allocations: 23.98 kB / 0.6974 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.7232, allocations: 31.89 kB / 0.6975 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.7233, allocations: 15.98 kB / 0.6975 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003307/0.7236, allocations: 283 kB / 0.6978 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7236, allocations: 0 / 0.6978 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001334/0.7249, allocations: 394.8 kB / 0.6981 GB, free: 8.32 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.001478/0.7264, allocations: 0.5874 MB / 0.6987 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009411/0.7273, allocations: 0.4939 MB / 0.6992 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.7274, allocations: 4 kB / 0.6992 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.7277, allocations: 159.7 kB / 0.6994 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.7288, allocations: 205.4 kB / 0.6995 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.7303, allocations: 0.8291 MB / 0.7004 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.7306, allocations: 232.1 kB / 0.7006 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.7307, allocations: 47.42 kB / 0.7006 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.7307, allocations: 0 / 0.7006 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of Templates: time 0.01847/0.7492, allocations: 11.2 MB / 0.7116 GB, free: 10.48 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.760137105826288]