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.0009239/0.0009239, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002344, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007353/0.0007353, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009545/0.00169, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9521/0.9521, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09595/1.048, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.2735/0.2735, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02499/0.2985, allocations: 13.24 MB / 292.8 MB, free: 6.375 MB / 282.7 MB " [Timeout remaining time 180] 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 1.392e-06/1.392e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.006e-05, allocations: 3.078 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3225/0.3225, allocations: 148.7 MB / 442.8 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3243, allocations: 0.9171 MB / 443.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.3245, allocations: 17.47 kB / 443.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.3249, allocations: 114 kB / 443.8 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.3253, allocations: 301.5 kB / 444.1 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.3274, allocations: 1.259 MB / 445.4 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.3282, allocations: 0.9648 MB / 446.3 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.3285, allocations: 296.5 kB / 446.6 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009238/0.3294, allocations: 0.7256 MB / 447.3 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.3298, allocations: 287.6 kB / 447.6 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.3298, allocations: 46.47 kB / 447.7 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.3314, allocations: 1.438 MB / 449.1 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.3315, allocations: 175.7 kB / 449.3 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3317, allocations: 160.8 kB / 449.4 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.3328, allocations: 1.18 MB / 450.6 MB, free: 3.465 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.3328, allocations: 9.359 kB / 450.6 MB, free: 3.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3328, allocations: 4.312 kB / 450.6 MB, free: 3.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3328, allocations: 0 / 450.6 MB, free: 3.465 MB / 426.7 MB 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.001129/0.334, allocations: 1.038 MB / 451.7 MB, free: 18.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.334, allocations: 9.562 kB / 451.7 MB, free: 18.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.3342, allocations: 166.7 kB / 451.8 MB, free: 18.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3345, allocations: 287.1 kB / 452.1 MB, free: 18.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3345, allocations: 34.53 kB / 452.1 MB, free: 18.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.3346, allocations: 38.69 kB / 452.2 MB, free: 18.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.335, allocations: 0.6085 MB / 452.8 MB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.335, allocations: 0 / 452.8 MB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.335, allocations: 19.59 kB / 452.8 MB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.335, allocations: 11.48 kB / 452.8 MB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3352, allocations: 185 kB / 453 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3363, allocations: 1.289 MB / 454.3 MB, free: 17.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3365, allocations: 281.9 kB / 454.6 MB, free: 17.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.3366, allocations: 72.27 kB / 454.6 MB, free: 17.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.3367, allocations: 74.5 kB / 454.7 MB, free: 17.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3368, allocations: 48.86 kB / 454.8 MB, free: 17.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.3368, allocations: 0.9375 kB / 454.8 MB, free: 17.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002688/0.337, allocations: 188.6 kB / 454.9 MB, free: 17.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3371, allocations: 111.3 kB / 455.1 MB, free: 17.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3372, allocations: 264.9 kB / 455.3 MB, free: 16.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3372, allocations: 32.36 kB / 455.3 MB, free: 16.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.3373, allocations: 213.5 kB / 455.6 MB, free: 16.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3373, allocations: 107 kB / 455.7 MB, free: 16.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.3374, allocations: 75.7 kB / 455.7 MB, free: 16.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.3375, allocations: 345.4 kB / 456.1 MB, free: 16.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.3376, allocations: 103 kB / 456.2 MB, free: 16.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.3377, allocations: 204.3 kB / 456.4 MB, free: 16.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3379, allocations: 307.3 kB / 456.7 MB, free: 15.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3379, allocations: 0 / 456.7 MB, free: 15.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002672/0.3381, allocations: 366.4 kB / 457 MB, free: 15.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.3382, allocations: 63.8 kB / 457.1 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3382, allocations: 3.688 kB / 457.1 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3382, allocations: 5.688 kB / 457.1 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.3384, allocations: 95.42 kB / 457.2 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3384, allocations: 9.5 kB / 457.2 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3385, allocations: 42.17 kB / 457.2 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3386, allocations: 16.19 kB / 457.3 MB, free: 15.64 MB / 442.7 MB 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.0001002/0.3387, allocations: 141 kB / 457.4 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.3387, allocations: 40.45 kB / 457.4 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.339, allocations: 293.5 kB / 457.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.339, allocations: 2.781 kB / 457.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.3391, allocations: 3.312 kB / 457.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3391, allocations: 1.594 kB / 457.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.34, allocations: 0.9919 MB / 458.7 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.34, allocations: 3.969 kB / 458.7 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3401, allocations: 68.3 kB / 458.8 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.3401, allocations: 42.62 kB / 458.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3401, allocations: 6.188 kB / 458.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3401, allocations: 6.031 kB / 458.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3401, allocations: 11.56 kB / 458.9 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3401, allocations: 4.703 kB / 458.9 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.3407, allocations: 0.5783 MB / 459.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3407, allocations: 11.95 kB / 459.5 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3409, allocations: 20.64 kB / 459.5 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3409, allocations: 35.55 kB / 459.5 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3409, allocations: 14.84 kB / 459.5 MB, free: 14.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.341, allocations: 125.7 kB / 459.6 MB, free: 14.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.341, allocations: 0 / 459.6 MB, free: 14.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005041/0.3415, allocations: 287.9 kB / 459.9 MB, free: 14.28 MB / 442.7 MB 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.000572/0.3421, allocations: 389.8 kB / 460.3 MB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3424, allocations: 351.3 kB / 460.6 MB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.3424, allocations: 6.75 kB / 460.7 MB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3425, allocations: 108 kB / 460.8 MB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.3433, allocations: 1.091 MB / 461.9 MB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.3463, allocations: 0.7579 MB / 462.6 MB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.73e-05/0.3464, allocations: 124.2 kB / 462.7 MB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.3466, allocations: 76.84 kB / 462.8 MB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.347, allocations: 248.7 kB / 463.1 MB, free: 12.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.347, allocations: 1.031 kB / 463.1 MB, free: 12.4 MB / 442.7 MB Notification: Performance of Templates: time 0.0132/0.3602, allocations: 13.56 MB / 476.6 MB, free: 10.85 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5193629059940577]