Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 218 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2239/0.2239, allocations: 46.94 MB / 362 MB, free: 4.215 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-beta.om/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=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 87.84 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3364, allocations: 66.07 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5655/0.9019, allocations: 183.1 MB / 0.7412 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.9039, allocations: 0.9026 MB / 0.7421 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.9042, allocations: 11.88 kB / 0.7421 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.905, allocations: 218.2 kB / 0.7423 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.9057, allocations: 292.8 kB / 0.7426 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.9108, allocations: 1.97 MB / 0.7445 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.9119, allocations: 0.9919 MB / 0.7454 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.9123, allocations: 273.6 kB / 0.7457 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.9154, allocations: 1.606 MB / 0.7473 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.9159, allocations: 336.7 kB / 0.7476 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.9159, allocations: 49.09 kB / 0.7476 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.92, allocations: 2.363 MB / 0.75 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.9202, allocations: 200.6 kB / 0.7501 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.9205, allocations: 268.8 kB / 0.7504 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.9239, allocations: 1.973 MB / 0.7523 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9239, allocations: 3.938 kB / 0.7523 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9239, allocations: 1.125 kB / 0.7523 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9239, allocations: 0 / 0.7523 GB, free: 1.566 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.001824/0.9258, allocations: 1.005 MB / 0.7533 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.9258, allocations: 14.38 kB / 0.7533 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.926, allocations: 57.41 kB / 0.7534 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.9265, allocations: 320.2 kB / 0.7537 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.9266, allocations: 32.03 kB / 0.7537 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.9266, allocations: 36.66 kB / 0.7538 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/0.9275, allocations: 0.7701 MB / 0.7545 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.9275, allocations: 0.8906 kB / 0.7545 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.9276, allocations: 15.47 kB / 0.7545 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.9276, allocations: 10.36 kB / 0.7545 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.9283, allocations: 0.4888 MB / 0.755 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.9307, allocations: 1.939 MB / 0.7569 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.9313, allocations: 361.8 kB / 0.7572 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.9316, allocations: 168.6 kB / 0.7574 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/0.932, allocations: 131.3 kB / 0.7575 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.932, allocations: 46.52 kB / 0.7576 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.932, allocations: 0 / 0.7576 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009779/0.933, allocations: 0.5004 MB / 0.7581 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.9331, allocations: 108.9 kB / 0.7582 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.9335, allocations: 403.4 kB / 0.7586 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.9335, allocations: 34.3 kB / 0.7586 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.9337, allocations: 218.5 kB / 0.7588 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.9337, allocations: 109.9 kB / 0.7589 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.9338, allocations: 76.31 kB / 0.759 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.934, allocations: 354.2 kB / 0.7593 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.9343, allocations: 206.6 kB / 0.7595 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.9346, allocations: 304.6 kB / 0.7598 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.9352, allocations: 492.2 kB / 0.7603 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9352, allocations: 3.359 kB / 0.7603 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009033/0.9361, allocations: 0.6007 MB / 0.7609 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.9362, allocations: 63.47 kB / 0.7609 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.9362, allocations: 3.469 kB / 0.7609 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9362, allocations: 5.781 kB / 0.7609 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.9366, allocations: 86.19 kB / 0.761 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.9366, allocations: 6.5 kB / 0.761 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.9369, allocations: 55.08 kB / 0.7611 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.937, allocations: 23.45 kB / 0.7611 GB, free: 13.46 MB / 0.5762 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.0002325/0.9372, allocations: 190 kB / 0.7613 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.9373, allocations: 46.73 kB / 0.7613 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008856/0.9382, allocations: 486.9 kB / 0.7618 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.9382, allocations: 3.875 kB / 0.7618 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9382, allocations: 2.859 kB / 0.7618 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9382, allocations: 2.156 kB / 0.7618 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.9404, allocations: 1.366 MB / 0.7631 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.9404, allocations: 3 kB / 0.7631 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.9407, allocations: 64.16 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.9407, allocations: 4.906 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.9407, allocations: 6.75 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.9407, allocations: 9.625 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9407, allocations: 2.5 kB / 0.7632 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.9415, allocations: 0.6442 MB / 0.7638 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.9416, allocations: 53.84 kB / 0.7639 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.9416, allocations: 14.77 kB / 0.7639 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.942, allocations: 22.78 kB / 0.7639 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.9421, allocations: 25.83 kB / 0.7639 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.9422, allocations: 22.92 kB / 0.764 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003384/0.9425, allocations: 360 kB / 0.7643 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9425, allocations: 3.344 kB / 0.7643 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001022/0.9435, allocations: 360.4 kB / 0.7647 GB, free: 12.14 MB / 0.5762 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.001025/0.9445, allocations: 495.7 kB / 0.7651 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007717/0.9453, allocations: 0.508 MB / 0.7656 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9453, allocations: 0.6562 kB / 0.7656 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.9456, allocations: 156.4 kB / 0.7658 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.9469, allocations: 285.1 kB / 0.7661 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.9481, allocations: 0.7997 MB / 0.7668 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.9485, allocations: 0.8387 MB / 0.7677 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003515/0.9489, allocations: 115.3 kB / 0.7678 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.949, allocations: 46.97 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.949, allocations: 0.9688 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.02249/0.9715, allocations: 15.36 MB / 0.7828 GB, free: 7.992 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 6.143028646009043]