Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001301/0.001301, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001436/0.001436, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 177.2 MB / 204.9 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 34.26 MB / 295.5 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.88 kB / 443.2 MB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2913, allocations: 66 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.1929/0.4841, allocations: 160.4 MB / 0.6539 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.4861, allocations: 0.8738 MB / 0.6547 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.4864, allocations: 15.88 kB / 0.6547 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.4871, allocations: 202.6 kB / 0.6549 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.4877, allocations: 298.3 kB / 0.6552 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.4931, allocations: 1.957 MB / 0.6571 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.4945, allocations: 0.9946 MB / 0.6581 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.4949, allocations: 277.3 kB / 0.6584 GB, free: 248 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.4985, allocations: 1.585 MB / 0.6599 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.4991, allocations: 334.7 kB / 0.6602 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4992, allocations: 48 kB / 0.6603 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.504, allocations: 2.285 MB / 0.6625 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.5042, allocations: 207.4 kB / 0.6627 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.5046, allocations: 227.2 kB / 0.6629 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.5088, allocations: 1.971 MB / 0.6648 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5088, allocations: 0 / 0.6648 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.727e-06/0.5088, allocations: 4 kB / 0.6648 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.5088, allocations: 0 / 0.6648 GB, free: 9.582 MB / 0.5606 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.002202/0.511, allocations: 1.001 MB / 0.6658 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5111, allocations: 8.031 kB / 0.6658 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.5114, allocations: 63.66 kB / 0.6659 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.512, allocations: 319.9 kB / 0.6662 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.512, allocations: 32.94 kB / 0.6662 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.5121, allocations: 36 kB / 0.6663 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5131, allocations: 0.7708 MB / 0.667 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5131, allocations: 0 / 0.667 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.5132, allocations: 20 kB / 0.667 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.5132, allocations: 8 kB / 0.667 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/0.5141, allocations: 491.6 kB / 0.6675 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.5167, allocations: 1.485 MB / 0.669 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.5175, allocations: 369.8 kB / 0.6693 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.5178, allocations: 170.5 kB / 0.6695 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/0.5182, allocations: 131.9 kB / 0.6696 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5183, allocations: 42.56 kB / 0.6696 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.5183, allocations: 0 / 0.6696 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001131/0.5194, allocations: 0.4887 MB / 0.6701 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.5195, allocations: 110.8 kB / 0.6702 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.5198, allocations: 296.6 kB / 0.6705 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.522e-05/0.5199, allocations: 33.7 kB / 0.6705 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.52, allocations: 220.3 kB / 0.6707 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.5201, allocations: 119.1 kB / 0.6709 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5202, allocations: 82.06 kB / 0.6709 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5204, allocations: 338.8 kB / 0.6713 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.5208, allocations: 208 kB / 0.6715 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.5212, allocations: 317 kB / 0.6718 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/0.522, allocations: 483.9 kB / 0.6722 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.522, allocations: 0 / 0.6722 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001041/0.523, allocations: 0.5973 MB / 0.6728 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.5231, allocations: 57.75 kB / 0.6729 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5231, allocations: 8.062 kB / 0.6729 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.5231, allocations: 8 kB / 0.6729 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.5235, allocations: 79.89 kB / 0.673 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.5236, allocations: 16.3 kB / 0.673 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.5239, allocations: 39.73 kB / 0.673 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.5239, allocations: 23.98 kB / 0.673 GB, free: 0.707 MB / 0.5606 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.0002409/0.5242, allocations: 190.3 kB / 0.6732 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.5243, allocations: 31.81 kB / 0.6732 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.5253, allocations: 488.3 kB / 0.6737 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.5253, allocations: 4.047 kB / 0.6737 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5253, allocations: 0 / 0.6737 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5253, allocations: 7.938 kB / 0.6737 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.5277, allocations: 1.196 MB / 0.6749 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5277, allocations: 4 kB / 0.6749 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.528, allocations: 63.89 kB / 0.675 GB, free: 14.67 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.528, allocations: 4 kB / 0.675 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.528, allocations: 11.94 kB / 0.675 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.528, allocations: 7.938 kB / 0.675 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5281, allocations: 4 kB / 0.675 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.5289, allocations: 0.6331 MB / 0.6756 GB, free: 13.97 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.5289, allocations: 39.7 kB / 0.6756 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.529, allocations: 15.88 kB / 0.6757 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.5294, allocations: 23.97 kB / 0.6757 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.5295, allocations: 23.97 kB / 0.6757 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.5295, allocations: 19.98 kB / 0.6757 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0003105/0.5298, allocations: 279 kB / 0.676 GB, free: 13.58 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.5298, allocations: 4 kB / 0.676 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00112/0.5309, allocations: 358.9 kB / 0.6763 GB, free: 13.22 MB / 0.5763 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.001079/0.532, allocations: 0.502 MB / 0.6768 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000863/0.5329, allocations: 0.5016 MB / 0.6773 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5329, allocations: 0.75 kB / 0.6773 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.5332, allocations: 155.7 kB / 0.6775 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.5344, allocations: 210.4 kB / 0.6777 GB, free: 11.83 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.5357, allocations: 0.7768 MB / 0.6784 GB, free: 11 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5359, allocations: 240.1 kB / 0.6786 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.5362, allocations: 110.2 kB / 0.6787 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5364, allocations: 44.48 kB / 0.6788 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of SimCode: time 4.91e-07/0.5364, allocations: 0 / 0.6788 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.2361/0.7725, allocations: 13.42 MB / 0.6919 GB, free: 166.1 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.762028684024699]