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.001623/0.001623, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001932/0.001932, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.51/1.51, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.231/0.231, allocations: 46.88 MB / 358.1 MB, free: 10.53 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.002449/0.002449, allocations: 79.86 kB / 0.4924 GB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.138, allocations: 65.98 MB / 0.5568 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5308/0.6688, allocations: 185.3 MB / 0.7377 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.6708, allocations: 0.8853 MB / 0.7386 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002492/0.6711, allocations: 7.938 kB / 0.7386 GB, free: 7.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.6718, allocations: 218.6 kB / 0.7388 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.6724, allocations: 294.2 kB / 0.7391 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00633/0.6788, allocations: 1.929 MB / 0.741 GB, free: 5.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.6805, allocations: 0.9788 MB / 0.742 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.6811, allocations: 294.5 kB / 0.7422 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.6852, allocations: 1.581 MB / 0.7438 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.6859, allocations: 334.8 kB / 0.7441 GB, free: 1.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.613e-05/0.686, allocations: 48 kB / 0.7441 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/0.6915, allocations: 2.862 MB / 0.7469 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.6919, allocations: 207.3 kB / 0.7471 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.6923, allocations: 262.9 kB / 0.7474 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/0.6967, allocations: 2.068 MB / 0.7494 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6967, allocations: 0 / 0.7494 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6967, allocations: 0 / 0.7494 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.6967, allocations: 0 / 0.7494 GB, free: 12.39 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.002107/0.6988, allocations: 1.077 MB / 0.7505 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6988, allocations: 8.031 kB / 0.7505 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.6991, allocations: 63.66 kB / 0.7505 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.6997, allocations: 382.2 kB / 0.7509 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.6997, allocations: 25 kB / 0.7509 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.6998, allocations: 36 kB / 0.7509 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/0.7007, allocations: 0.5276 MB / 0.7515 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.7007, allocations: 0 / 0.7515 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.7008, allocations: 19.94 kB / 0.7515 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.7008, allocations: 8 kB / 0.7515 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009013/0.7017, allocations: 499.5 kB / 0.752 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.7045, allocations: 1.977 MB / 0.7539 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.7053, allocations: 436.7 kB / 0.7543 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.7056, allocations: 170.4 kB / 0.7545 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009347/0.7066, allocations: 0.9572 MB / 0.7554 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.7066, allocations: 42.55 kB / 0.7554 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.7066, allocations: 4 kB / 0.7555 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001179/0.7078, allocations: 493.1 kB / 0.7559 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.7079, allocations: 110.8 kB / 0.756 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.7083, allocations: 401.5 kB / 0.7564 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.7084, allocations: 37.7 kB / 0.7564 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.7086, allocations: 216.5 kB / 0.7567 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/0.7087, allocations: 115.1 kB / 0.7568 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.7088, allocations: 78.02 kB / 0.7568 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.709, allocations: 346.8 kB / 0.7572 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.7093, allocations: 148.6 kB / 0.7573 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.7097, allocations: 262.8 kB / 0.7576 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.7105, allocations: 483.7 kB / 0.758 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7105, allocations: 3.938 kB / 0.758 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001049/0.7116, allocations: 0.5512 MB / 0.7586 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.7116, allocations: 63.39 kB / 0.7586 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7117, allocations: 7.938 kB / 0.7586 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.7117, allocations: 7.938 kB / 0.7586 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.7121, allocations: 83.89 kB / 0.7587 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.7121, allocations: 4 kB / 0.7587 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.7124, allocations: 51.61 kB / 0.7588 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.7125, allocations: 20 kB / 0.7588 GB, free: 2.047 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.0002434/0.7127, allocations: 193.8 kB / 0.759 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7128, allocations: 43.7 kB / 0.759 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.7139, allocations: 492.4 kB / 0.7595 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.7139, allocations: 8.031 kB / 0.7595 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7139, allocations: 4 kB / 0.7595 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7139, allocations: 3.984 kB / 0.7595 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.7171, allocations: 2.427 MB / 0.7619 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.7171, allocations: 7.984 kB / 0.7619 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.7174, allocations: 55.91 kB / 0.7619 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.7174, allocations: 4 kB / 0.7619 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.7174, allocations: 8 kB / 0.7619 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.7174, allocations: 7.938 kB / 0.762 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7174, allocations: 8.188 kB / 0.762 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.7183, allocations: 0.6404 MB / 0.7626 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.7185, allocations: 128.8 kB / 0.7627 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.7185, allocations: 15.88 kB / 0.7627 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.7189, allocations: 19.98 kB / 0.7627 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.719, allocations: 31.91 kB / 0.7628 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.7191, allocations: 23.92 kB / 0.7628 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004266/0.7195, allocations: 363.1 kB / 0.7631 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7195, allocations: 0 / 0.7631 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00112/0.7206, allocations: 351 kB / 0.7635 GB, free: 12.84 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.001269/0.7219, allocations: 0.5151 MB / 0.764 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009099/0.7228, allocations: 461.2 kB / 0.7644 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7228, allocations: 0 / 0.7644 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.7231, allocations: 156.9 kB / 0.7646 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.7246, allocations: 283.2 kB / 0.7648 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.726, allocations: 0.8513 MB / 0.7657 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.7265, allocations: 0.8312 MB / 0.7665 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.7267, allocations: 55.36 kB / 0.7665 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.7267, allocations: 0 / 0.7665 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.01783/0.7445, allocations: 11.57 MB / 0.7778 GB, free: 14.11 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.625263671856374]