Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 46.93 MB / 360.8 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.88 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5482/0.8629, allocations: 185.5 MB / 0.7423 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.8645, allocations: 0.8969 MB / 0.7432 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.8647, allocations: 16.19 kB / 0.7432 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.8653, allocations: 218.2 kB / 0.7434 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.8658, allocations: 287.3 kB / 0.7437 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.87, allocations: 1.971 MB / 0.7456 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.871, allocations: 0.9953 MB / 0.7466 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.8714, allocations: 278.2 kB / 0.7469 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.8742, allocations: 1.6 MB / 0.7484 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.8747, allocations: 342.5 kB / 0.7488 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.8748, allocations: 46.66 kB / 0.7488 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/0.879, allocations: 2.902 MB / 0.7516 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.8792, allocations: 200.1 kB / 0.7518 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.8796, allocations: 274.2 kB / 0.7521 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.8826, allocations: 2.055 MB / 0.7541 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8826, allocations: 0 / 0.7541 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8826, allocations: 1.125 kB / 0.7541 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8826, allocations: 0 / 0.7541 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.002079/0.8847, allocations: 1.011 MB / 0.7551 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8848, allocations: 10.94 kB / 0.7551 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.885, allocations: 61.25 kB / 0.7551 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.8856, allocations: 322.3 kB / 0.7555 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.8856, allocations: 26.88 kB / 0.7555 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.8857, allocations: 43.48 kB / 0.7555 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.8865, allocations: 0.5186 MB / 0.756 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8865, allocations: 0.7812 kB / 0.756 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.8866, allocations: 19.97 kB / 0.756 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.8866, allocations: 8.156 kB / 0.7561 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.8874, allocations: 497.1 kB / 0.7565 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.8899, allocations: 1.943 MB / 0.7584 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.8906, allocations: 355.8 kB / 0.7588 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.8909, allocations: 169.5 kB / 0.7589 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.8913, allocations: 136.1 kB / 0.7591 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.8913, allocations: 40.84 kB / 0.7591 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.8913, allocations: 0.8125 kB / 0.7591 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30): time 0.0009927/0.8923, allocations: 0.4931 MB / 0.7596 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.8924, allocations: 110.3 kB / 0.7597 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.8928, allocations: 407.5 kB / 0.7601 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.8928, allocations: 37.89 kB / 0.7601 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.893, allocations: 216.4 kB / 0.7603 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.893, allocations: 106.8 kB / 0.7604 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.8931, allocations: 78.77 kB / 0.7605 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8933, allocations: 350.7 kB / 0.7608 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.8936, allocations: 151.6 kB / 0.761 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.8939, allocations: 258.9 kB / 0.7612 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.8946, allocations: 482.3 kB / 0.7617 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8946, allocations: 3.188 kB / 0.7617 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009105/0.8955, allocations: 0.5475 MB / 0.7622 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.8956, allocations: 63.41 kB / 0.7623 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8956, allocations: 6.625 kB / 0.7623 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.8956, allocations: 10.67 kB / 0.7623 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.896, allocations: 85.55 kB / 0.7624 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.896, allocations: 4.281 kB / 0.7624 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.8963, allocations: 59.36 kB / 0.7624 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.8964, allocations: 19.59 kB / 0.7625 GB, free: 13.94 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.000211/0.8966, allocations: 186.2 kB / 0.7626 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.8967, allocations: 45.47 kB / 0.7627 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000949/0.8976, allocations: 496.7 kB / 0.7631 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8976, allocations: 2.844 kB / 0.7632 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8977, allocations: 4.781 kB / 0.7632 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.8977, allocations: 6.156 kB / 0.7632 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.9001, allocations: 1.365 MB / 0.7645 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.9001, allocations: 3.656 kB / 0.7645 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.9004, allocations: 60.27 kB / 0.7646 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.9004, allocations: 9.938 kB / 0.7646 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.9004, allocations: 7.031 kB / 0.7646 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.9004, allocations: 5.875 kB / 0.7646 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9004, allocations: 5 kB / 0.7646 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.9012, allocations: 0.6434 MB / 0.7652 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.9013, allocations: 54.7 kB / 0.7653 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.9013, allocations: 15.75 kB / 0.7653 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.9018, allocations: 18.58 kB / 0.7653 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.9019, allocations: 31.67 kB / 0.7653 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.9019, allocations: 19.48 kB / 0.7653 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003748/0.9023, allocations: 365.1 kB / 0.7657 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9023, allocations: 1.203 kB / 0.7657 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001092/0.9034, allocations: 357.6 kB / 0.766 GB, free: 12.62 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.001064/0.9045, allocations: 499.1 kB / 0.7665 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007963/0.9052, allocations: 457.3 kB / 0.7669 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9053, allocations: 4.531 kB / 0.767 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.9055, allocations: 151.1 kB / 0.7671 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.9069, allocations: 276.8 kB / 0.7674 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.9083, allocations: 0.8117 MB / 0.7682 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.9088, allocations: 0.8361 MB / 0.769 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003713/0.9092, allocations: 123.6 kB / 0.7691 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.9093, allocations: 47.25 kB / 0.7691 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.9093, allocations: 7.031 kB / 0.7691 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.02292/0.9322, allocations: 15.35 MB / 0.7841 GB, free: 8.027 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.597271914128214]