Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001611/0.001611, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001801/0.001801, allocations: 211.2 kB / 22.99 MB, free: 5.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.565/1.565, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.91 MB / 359.4 MB, free: 4.879 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 75.88 kB / 0.4946 GB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3532, allocations: 65.98 MB / 0.5591 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5261/0.8793, allocations: 185.5 MB / 0.7403 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.881, allocations: 0.9002 MB / 0.7411 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.8812, allocations: 7.844 kB / 0.7412 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.882, allocations: 216.1 kB / 0.7414 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.8826, allocations: 288.2 kB / 0.7416 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.8869, allocations: 1.937 MB / 0.7435 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.8879, allocations: 0.9868 MB / 0.7445 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.8883, allocations: 275 kB / 0.7448 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.8912, allocations: 1.593 MB / 0.7463 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.8916, allocations: 337.7 kB / 0.7466 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.8917, allocations: 44.62 kB / 0.7467 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.8958, allocations: 2.861 MB / 0.7495 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.896, allocations: 200.2 kB / 0.7497 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.8963, allocations: 268.9 kB / 0.7499 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.899, allocations: 2.058 MB / 0.7519 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.899, allocations: 2.844 kB / 0.7519 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.899, allocations: 0 / 0.7519 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.899, allocations: 0 / 0.7519 GB, free: 1.551 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.001732/0.9007, allocations: 1.084 MB / 0.753 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.9007, allocations: 13.5 kB / 0.753 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.901, allocations: 55.56 kB / 0.7531 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.9015, allocations: 391.7 kB / 0.7534 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.9015, allocations: 28.41 kB / 0.7535 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.9016, allocations: 38.86 kB / 0.7535 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.9023, allocations: 0.5245 MB / 0.754 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.9023, allocations: 3.188 kB / 0.754 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.9024, allocations: 16.38 kB / 0.754 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.9024, allocations: 8.812 kB / 0.754 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.9031, allocations: 497.7 kB / 0.7545 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.9056, allocations: 1.973 MB / 0.7564 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.9062, allocations: 441.4 kB / 0.7569 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.9065, allocations: 168.6 kB / 0.757 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.9074, allocations: 0.9474 MB / 0.7579 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.9074, allocations: 41.61 kB / 0.758 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.9074, allocations: 0.875 kB / 0.758 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.001039/0.9085, allocations: 0.4964 MB / 0.7585 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.9085, allocations: 109 kB / 0.7586 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.9089, allocations: 405.2 kB / 0.759 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.909, allocations: 31.7 kB / 0.759 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.9091, allocations: 214.3 kB / 0.7592 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.9091, allocations: 113.6 kB / 0.7593 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9093, allocations: 74.91 kB / 0.7594 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9094, allocations: 355.8 kB / 0.7597 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.9097, allocations: 156 kB / 0.7599 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.91, allocations: 254.9 kB / 0.7601 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.9106, allocations: 483.7 kB / 0.7606 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9106, allocations: 3.219 kB / 0.7606 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008539/0.9114, allocations: 0.5574 MB / 0.7611 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.9115, allocations: 60.31 kB / 0.7612 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.9115, allocations: 3.406 kB / 0.7612 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9115, allocations: 6.797 kB / 0.7612 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.9119, allocations: 86.69 kB / 0.7613 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.9119, allocations: 8.125 kB / 0.7613 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.9122, allocations: 53.34 kB / 0.7613 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.9123, allocations: 23.52 kB / 0.7613 GB, free: 12.61 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.00019/0.9125, allocations: 187 kB / 0.7615 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.9126, allocations: 45.02 kB / 0.7616 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/0.9135, allocations: 493.2 kB / 0.762 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9135, allocations: 6.625 kB / 0.762 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9135, allocations: 0 / 0.762 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9135, allocations: 4.906 kB / 0.762 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.9163, allocations: 2.433 MB / 0.7644 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.9163, allocations: 5.422 kB / 0.7644 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.9166, allocations: 61.56 kB / 0.7645 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9166, allocations: 2.625 kB / 0.7645 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.9166, allocations: 13.06 kB / 0.7645 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9166, allocations: 3.531 kB / 0.7645 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9166, allocations: 2.469 kB / 0.7645 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.9174, allocations: 0.6415 MB / 0.7651 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.9175, allocations: 128.6 kB / 0.7653 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.9176, allocations: 16.75 kB / 0.7653 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.918, allocations: 24.88 kB / 0.7653 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.9181, allocations: 27.61 kB / 0.7653 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.9181, allocations: 27.06 kB / 0.7653 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003606/0.9185, allocations: 361.5 kB / 0.7657 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9185, allocations: 1.094 kB / 0.7657 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001093/0.9196, allocations: 355.4 kB / 0.766 GB, free: 9.867 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.001113/0.9207, allocations: 0.5017 MB / 0.7665 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007672/0.9215, allocations: 460.7 kB / 0.767 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9215, allocations: 4.875 kB / 0.767 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.9218, allocations: 154.5 kB / 0.7671 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.9231, allocations: 285 kB / 0.7674 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.9245, allocations: 0.8085 MB / 0.7682 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.9249, allocations: 0.8369 MB / 0.769 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.9253, allocations: 113.3 kB / 0.7691 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.9254, allocations: 46.98 kB / 0.7691 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of SimCode: time 8.22e-07/0.9254, allocations: 0.9375 kB / 0.7691 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of Templates: time 0.02292/0.9484, allocations: 15.26 MB / 0.784 GB, free: 5.34 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.358147255145013]