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.00155/0.00155, allocations: 119.1 kB / 18.46 MB, free: 4.691 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.001456/0.001456, allocations: 207.3 kB / 21.42 MB, free: 1.738 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2315/0.2315, allocations: 46.93 MB / 357.8 MB, free: 10.29 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+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.001945/0.001945, allocations: 67.91 kB / 0.4921 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 65.99 MB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5018/0.6389, allocations: 185.3 MB / 0.7375 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.641, allocations: 0.8853 MB / 0.7383 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.6413, allocations: 11.88 kB / 0.7383 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.642, allocations: 222.5 kB / 0.7386 GB, free: 6.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005957/0.6426, allocations: 286.3 kB / 0.7388 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.6479, allocations: 1.938 MB / 0.7407 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.6492, allocations: 0.9749 MB / 0.7417 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.6497, allocations: 289.7 kB / 0.7419 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.6532, allocations: 1.589 MB / 0.7435 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.6538, allocations: 338.8 kB / 0.7438 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.6538, allocations: 48 kB / 0.7439 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005361/0.6592, allocations: 2.858 MB / 0.7467 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.6595, allocations: 199.5 kB / 0.7468 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.66, allocations: 274.8 kB / 0.7471 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.6644, allocations: 2.061 MB / 0.7491 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6644, allocations: 0 / 0.7491 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6644, allocations: 0 / 0.7491 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.6644, allocations: 0 / 0.7491 GB, free: 11.78 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.002229/0.6666, allocations: 1.08 MB / 0.7502 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6667, allocations: 8.031 kB / 0.7502 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.667, allocations: 59.67 kB / 0.7502 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.6676, allocations: 382.2 kB / 0.7506 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.6676, allocations: 32.94 kB / 0.7506 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.6677, allocations: 39.94 kB / 0.7507 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6687, allocations: 0.5198 MB / 0.7512 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6687, allocations: 3.938 kB / 0.7512 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.6687, allocations: 16 kB / 0.7512 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.6687, allocations: 8 kB / 0.7512 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.6697, allocations: 496.4 kB / 0.7517 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.6726, allocations: 1.982 MB / 0.7536 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.6734, allocations: 440.7 kB / 0.754 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.6738, allocations: 174.5 kB / 0.7542 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009861/0.6747, allocations: 0.9455 MB / 0.7551 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.6748, allocations: 42.56 kB / 0.7552 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.6748, allocations: 0 / 0.7552 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001239/0.676, allocations: 0.4926 MB / 0.7557 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.6761, allocations: 106.8 kB / 0.7558 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.6766, allocations: 405.5 kB / 0.7561 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.6767, allocations: 37.7 kB / 0.7562 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.6768, allocations: 220.5 kB / 0.7564 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.6769, allocations: 107.1 kB / 0.7565 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.6771, allocations: 78.02 kB / 0.7566 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.6773, allocations: 346.8 kB / 0.7569 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.6776, allocations: 156.6 kB / 0.757 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.6781, allocations: 254 kB / 0.7573 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.6789, allocations: 491.6 kB / 0.7578 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6789, allocations: 4 kB / 0.7578 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001095/0.68, allocations: 0.5439 MB / 0.7583 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.6801, allocations: 63.34 kB / 0.7583 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.6801, allocations: 4 kB / 0.7584 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6801, allocations: 4 kB / 0.7584 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.6805, allocations: 83.89 kB / 0.7584 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.6805, allocations: 15.73 kB / 0.7585 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.6809, allocations: 55.97 kB / 0.7585 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.6809, allocations: 19.98 kB / 0.7585 GB, free: 1.418 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.0002567/0.6812, allocations: 191.8 kB / 0.7587 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.6813, allocations: 39.77 kB / 0.7587 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.6824, allocations: 499.2 kB / 0.7592 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6824, allocations: 4 kB / 0.7592 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6824, allocations: 0 / 0.7592 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6824, allocations: 0 / 0.7592 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/0.6858, allocations: 2.43 MB / 0.7616 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6858, allocations: 4 kB / 0.7616 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.6861, allocations: 63.91 kB / 0.7617 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.6861, allocations: 3.938 kB / 0.7617 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.6861, allocations: 20.17 kB / 0.7617 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.6861, allocations: 3.938 kB / 0.7617 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6861, allocations: 7.938 kB / 0.7617 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.6871, allocations: 0.6324 MB / 0.7623 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.6872, allocations: 132.7 kB / 0.7624 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.6873, allocations: 11.94 kB / 0.7625 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.6877, allocations: 23.97 kB / 0.7625 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.6878, allocations: 31.91 kB / 0.7625 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.6878, allocations: 19.98 kB / 0.7625 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004548/0.6883, allocations: 363.1 kB / 0.7629 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6883, allocations: 0 / 0.7629 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001213/0.6895, allocations: 359 kB / 0.7632 GB, free: 12.2 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.001268/0.6908, allocations: 494.4 kB / 0.7637 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009336/0.6917, allocations: 466.2 kB / 0.7641 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6917, allocations: 0 / 0.7641 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.692, allocations: 156.8 kB / 0.7643 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.6936, allocations: 280.9 kB / 0.7645 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.6951, allocations: 0.8513 MB / 0.7654 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.6956, allocations: 0.8351 MB / 0.7662 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.6958, allocations: 51.42 kB / 0.7662 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.6958, allocations: 0 / 0.7662 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.01847/0.7143, allocations: 11.58 MB / 0.7775 GB, free: 13.49 MB / 0.5919 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/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_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.781067670002813]