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.001845/0.001845, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 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.002172/0.002172, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.494/1.494, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2347/0.2347, allocations: 46.93 MB / 358.2 MB, free: 10.41 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.002304/0.002304, allocations: 79.86 kB / 0.4925 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 66 MB / 0.557 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.483/0.605, allocations: 185.3 MB / 0.7379 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.607, allocations: 0.893 MB / 0.7388 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.6072, allocations: 11.88 kB / 0.7388 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.6078, allocations: 214.7 kB / 0.739 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.6084, allocations: 290.3 kB / 0.7393 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.6133, allocations: 1.934 MB / 0.7412 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.6146, allocations: 0.9749 MB / 0.7421 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.6151, allocations: 293.6 kB / 0.7424 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.6183, allocations: 1.585 MB / 0.7439 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.6189, allocations: 342.8 kB / 0.7443 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.6189, allocations: 44 kB / 0.7443 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004946/0.6239, allocations: 2.87 MB / 0.7471 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6241, allocations: 199.5 kB / 0.7473 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.6245, allocations: 266.9 kB / 0.7476 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.6279, allocations: 2.068 MB / 0.7496 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6279, allocations: 0 / 0.7496 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6279, allocations: 0 / 0.7496 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.6279, allocations: 0 / 0.7496 GB, free: 11.98 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.002239/0.6301, allocations: 1.08 MB / 0.7506 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6302, allocations: 12.03 kB / 0.7506 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.6304, allocations: 55.67 kB / 0.7507 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.631, allocations: 382.2 kB / 0.7511 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.631, allocations: 25 kB / 0.7511 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.6311, allocations: 36 kB / 0.7511 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009487/0.632, allocations: 0.5245 MB / 0.7516 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6321, allocations: 0 / 0.7516 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.6321, allocations: 16 kB / 0.7516 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6321, allocations: 12 kB / 0.7517 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.633, allocations: 495.5 kB / 0.7521 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.6359, allocations: 1.974 MB / 0.7541 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.6367, allocations: 442.4 kB / 0.7545 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.637, allocations: 174.4 kB / 0.7546 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/0.638, allocations: 0.9572 MB / 0.7556 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.638, allocations: 38.56 kB / 0.7556 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.638, allocations: 4 kB / 0.7556 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001223/0.6392, allocations: 493.3 kB / 0.7561 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.6393, allocations: 110.8 kB / 0.7562 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.6398, allocations: 401.5 kB / 0.7566 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.6398, allocations: 41.64 kB / 0.7566 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.64, allocations: 220.5 kB / 0.7568 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.6401, allocations: 107.1 kB / 0.7569 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6402, allocations: 82 kB / 0.757 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6404, allocations: 350.8 kB / 0.7573 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.6407, allocations: 148.7 kB / 0.7575 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.6412, allocations: 254.8 kB / 0.7577 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.642, allocations: 491.7 kB / 0.7582 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.642, allocations: 0 / 0.7582 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001068/0.643, allocations: 0.5506 MB / 0.7587 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.6431, allocations: 63.39 kB / 0.7588 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6431, allocations: 4 kB / 0.7588 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6431, allocations: 7.984 kB / 0.7588 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.6435, allocations: 87.83 kB / 0.7589 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6435, allocations: 4 kB / 0.7589 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.6439, allocations: 59.95 kB / 0.759 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.6439, allocations: 19.98 kB / 0.759 GB, free: 1.629 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.0002386/0.6442, allocations: 189.6 kB / 0.7592 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6443, allocations: 43.7 kB / 0.7592 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.6454, allocations: 485.3 kB / 0.7597 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6454, allocations: 4 kB / 0.7597 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6454, allocations: 0 / 0.7597 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6454, allocations: 3.984 kB / 0.7597 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.6486, allocations: 2.439 MB / 0.762 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6486, allocations: 96 / 0.762 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.6489, allocations: 63.91 kB / 0.7621 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.6489, allocations: 7.984 kB / 0.7621 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.649, allocations: 12.19 kB / 0.7621 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.649, allocations: 7.938 kB / 0.7621 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.649, allocations: 0 / 0.7621 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.6499, allocations: 0.6362 MB / 0.7628 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.65, allocations: 128.8 kB / 0.7629 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.6501, allocations: 15.88 kB / 0.7629 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.6505, allocations: 19.98 kB / 0.7629 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.6506, allocations: 32.53 kB / 0.7629 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.6506, allocations: 23.98 kB / 0.763 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004344/0.6511, allocations: 359.1 kB / 0.7633 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6511, allocations: 0 / 0.7633 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001131/0.6522, allocations: 359 kB / 0.7636 GB, free: 12.42 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.001201/0.6534, allocations: 0.501 MB / 0.7641 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008688/0.6543, allocations: 458.3 kB / 0.7646 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6543, allocations: 0 / 0.7646 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.6546, allocations: 156.9 kB / 0.7647 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.6561, allocations: 284.1 kB / 0.765 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.6575, allocations: 0.8435 MB / 0.7658 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.658, allocations: 0.8351 MB / 0.7666 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6581, allocations: 51.42 kB / 0.7667 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.6581, allocations: 0 / 0.7667 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of Templates: time 0.01804/0.6762, allocations: 11.57 MB / 0.778 GB, free: 13.7 MB / 0.5919 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 -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: 10.290814385996782]